aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_switch_id.sh
AgeCommit message (Collapse)Author
2019-02-24Fix shellcheck SC2006 warnings in test_switch_id.shrl1987
2016-06-20Coverage hack for test_switch_id.shNick Mathewson
This hack provides a way to make sure we can see coverage from test-switch-id. If you set OVERRIDE_GCDA_PERMISSIONS_HACK, we temporarily make the .gcda files mode 0666 before we run the test scripts, and then we set them to 0644 again afterwards. That's necessary because the test_switch_id.sh script does a setuid() to 'nobody' part way through, and drops the ability to change its mind back.
2015-12-15Add unit tests for switch_id(), including tests for capabilitiesNick Mathewson