Przeglądaj źródła

Merge remote-tracking branch 'tor-github/pr/942'

Nick Mathewson 5 lat temu
rodzic
commit
6320b2988c
2 zmienionych plików z 6 dodań i 2 usunięć
  1. 2 0
      changes/ticket30077
  2. 4 2
      src/test/fuzz/fuzz_multi.sh

+ 2 - 0
changes/ticket30077

@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+    - Fix shellcheck warnings in fuzz_multi.sh. Resolves issue 30077.

+ 4 - 2
src/test/fuzz/fuzz_multi.sh

@@ -1,3 +1,5 @@
+#!/bin/sh
+
 MEMLIMIT_BYTES=21990500990976
 
 N_CPUS=1
@@ -6,9 +8,9 @@ if [ $# -ge 1 ]; then
     shift
 fi
 
-FILTER=echo
+FILTER="echo"
 
-for i in `seq -w "$N_CPUS"`; do
+for i in $(seq -w "$N_CPUS"); do
     if [ "$i" -eq 1 ]; then
         if [ "$N_CPUS" -eq 1 ]; then
             INSTANCE=""