aboutsummaryrefslogtreecommitdiff
path: root/src/test/zero_length_keys.sh
AgeCommit message (Collapse)Author
2019-05-29Merge branch 'maint-0.4.0'George Kadianakis
2019-04-10test: Also avoid reading the system default torrc in integration teststeor
Part of 29702.
2019-02-07Fix shellcheck warning in zero_length_keys.shrl1987
2015-04-23Integrate zero_length_keys test into the automake test suite.cypherpunks
The zero length keys test now requires the path to the Tor binary as the first parameter to ensure the correct Tor binary is used without hard coding a path. The wrapper script calls the zero length keys test for each test separately to ensure the correct shell is used (as configured by autoconf). Another solution would have been to place the tests into separate functions so multiple tests could be run internally. This would have made a diff of considerable size and frankly it is outside the scope of this fix.
2015-02-26Have zero_length_keys.sh use an empty torrc file.Nick Mathewson
Fixes 15033; bugfix on 0.2.6.3-alpha.
2015-02-17Use --list-fingerprint instead of process control in zero_length_keys.shNick Mathewson
Using kill and wait in this way may have been making windows builders unhappy.
2015-02-11Put error messages to stderrSebastian Hahn
Thanks weasel :) Also remove stray debug output
2015-02-11Change exit code of zero_length_keys scriptSebastian Hahn
Weasel notes that exit codes above 128 are for when a script dies from a signal.
2015-02-11Avoid undefined behaviour of testSebastian Hahn
Fixes part of bug #14478, patch idea suggested by an anonymous contributor. Thanks!
2015-02-11Check that mktemp result is a directorySebastian Hahn
Fixes part of bug #14478, patch idea suggested by an anonymous contributor. Thanks!
2015-02-11Clean up after zero length key testSebastian Hahn
2015-02-06Remove useless export in zero length key testSebastian Hahn
Fixes part of bug #14478, patch idea suggested by an anonymous contributor. Thanks!
2015-02-06Don't use invalid exit values in zero length key testSebastian Hahn
Shell exit values must fall into the range of [0-255], so let's honour this. In practice, the "exit -1" from the old code set an exit value of 255 on most systems, so let's pick that. Fixes part of bug #14478, patch idea suggested by an anonymous contributor. Thanks!
2015-01-12On jessie, we need a =, not a ==Nick Mathewson
2015-01-12mktemp wants some XsNick Mathewson
2015-01-12Tweak zero_length_keys.sh and test/include.am to make out-of-tree builds workNick Mathewson
2015-01-10Test that tor correctly handles zero-length keysteor
Check that tor generates new keys, and overwrites the empty key files. Test that tor generates new keys when keys are missing (existing behaviour). Test that tor does not overwrite key files that already contain data (existing behaviour). Tests fixes to bug 13111.