aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-05-01 09:11:20 -0400
committerNick Mathewson <nickm@torproject.org>2019-05-01 09:11:20 -0400
commit4973ceb46b2b969906a4574d5aa608512c5bf83d (patch)
treef1ec16060ef491adfa6e2c9ce198e048e91ca2ef /src/test/fuzz
parent39bd10dca65fb4007a3da2a15323e6a8bebfd0aa (diff)
parent55b4f02ba6cbbd4cae942a9e84e48e237d8e38aa (diff)
downloadtor-4973ceb46b2b969906a4574d5aa608512c5bf83d.tar.gz
tor-4973ceb46b2b969906a4574d5aa608512c5bf83d.zip
Merge remote-tracking branch 'tor-github/pr/950'
Diffstat (limited to 'src/test/fuzz')
-rwxr-xr-xsrc/test/fuzz/fixup_filenames.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/fuzz/fixup_filenames.sh b/src/test/fuzz/fixup_filenames.sh
index 68efc1abc5..f730d532a5 100755
--- a/src/test/fuzz/fixup_filenames.sh
+++ b/src/test/fuzz/fixup_filenames.sh
@@ -8,9 +8,9 @@ if [ ! -d "$1" ] ; then
fi
for fn in "$1"/* ; do
- prev=`basename "$fn"`
- post=`sha256sum "$fn" | sed -e 's/ .*//;'`
- if [ "$prev" == "$post" ] ; then
+ prev=$(basename "$fn")
+ post=$(sha256sum "$fn" | sed -e 's/ .*//;')
+ if [ "$prev" = "$post" ] ; then
echo "OK $prev"
else
echo "mv $prev $post"