summaryrefslogtreecommitdiff
path: root/src/test/zero_length_keys.sh
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-12 22:30:40 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-12 22:30:40 -0500
commita0b4c2f1bd0c5761fd82bdeb7ccfe00f9085d7ff (patch)
treed92dd6c429e8d82686aa7ff468bdbe361a77a1b2 /src/test/zero_length_keys.sh
parent7257f2e31dcf07a8eeb4e9db6a2065d8e106ce0e (diff)
downloadtor-a0b4c2f1bd0c5761fd82bdeb7ccfe00f9085d7ff.tar.gz
tor-a0b4c2f1bd0c5761fd82bdeb7ccfe00f9085d7ff.zip
On jessie, we need a =, not a ==
Diffstat (limited to 'src/test/zero_length_keys.sh')
-rwxr-xr-xsrc/test/zero_length_keys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/zero_length_keys.sh b/src/test/zero_length_keys.sh
index eea1f35a5c..3a99ca1f1d 100755
--- a/src/test/zero_length_keys.sh
+++ b/src/test/zero_length_keys.sh
@@ -68,7 +68,7 @@ if [ "$1" != "-e" ]; then
fi
# create empty files for -z
-if [ "$1" == "-z" ]; then
+if [ "$1" = "-z" ]; then
FILE_DESC="regenerates zero-length"
touch "$DATA_DIR"/keys/secret_id_key || exit -1
touch "$DATA_DIR"/keys/secret_onion_key || exit -1