diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-02 17:14:49 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-06 11:01:22 +0200 |
commit | daff9e1ba11bdf1d6fe55eeeda45dd4bb2918874 (patch) | |
tree | 5fff47ed67a117e178f53b3d189daf0a97c6d989 | |
parent | bfd1d702433fde0c551a1c79d410d87fe22feb30 (diff) | |
download | tor-daff9e1ba11bdf1d6fe55eeeda45dd4bb2918874.tar.gz tor-daff9e1ba11bdf1d6fe55eeeda45dd4bb2918874.zip |
Fix shellcheck warning in fuzz_static_testcases.sh
-rw-r--r-- | changes/ticket29059 | 3 | ||||
-rwxr-xr-x | src/test/fuzz_static_testcases.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/ticket29059 b/changes/ticket29059 new file mode 100644 index 0000000000..d47d0e2a3b --- /dev/null +++ b/changes/ticket29059 @@ -0,0 +1,3 @@ + o Code simplification and refactoring (shell scripts): + - Fix shellcheck warnings in fuzz_static_testcases.sh. Resolves ticket + 29059. diff --git a/src/test/fuzz_static_testcases.sh b/src/test/fuzz_static_testcases.sh index f7b3adffb1..b883352402 100755 --- a/src/test/fuzz_static_testcases.sh +++ b/src/test/fuzz_static_testcases.sh @@ -14,7 +14,7 @@ fi for fuzzer in "${builddir:-.}"/src/test/fuzz/fuzz-* ; do - f=`basename $fuzzer` + f=$(basename "$fuzzer") case="${f#fuzz-}" if [ -d "${TOR_FUZZ_CORPORA}/${case}" ]; then echo "Running tests for ${case}" |