In /usr/bin/gnustep-tests line 33: GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: GNUSTEP_MAKEFILES=$(gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null) In /usr/bin/gnustep-tests line 41: . $GNUSTEP_MAKEFILES/GNUstep.sh ^---------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: . "$GNUSTEP_MAKEFILES"/GNUstep.sh In /usr/bin/gnustep-tests line 47: GSTESTDIR=`pwd` ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: GSTESTDIR=$(pwd) In /usr/bin/gnustep-tests line 55: gs_option= ^-------^ SC2034: gs_option appears unused. Verify use (or export if used externally). In /usr/bin/gnustep-tests line 74: cat $GSTESTTOP/README ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cat "$GSTESTTOP"/README In /usr/bin/gnustep-tests line 126: CC=`gnustep-config --variable=CC` ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: CC=$(gnustep-config --variable=CC) In /usr/bin/gnustep-tests line 139: OBJCXX=`gnustep-config --variable=OBJCXX` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: OBJCXX=$(gnustep-config --variable=OBJCXX) In /usr/bin/gnustep-tests line 191: GSTESTFLAGS=`gnustep-config --debug-flags` ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: GSTESTFLAGS=$(gnustep-config --debug-flags) In /usr/bin/gnustep-tests line 192: GSTESTLIBS=`gnustep-config --gui-libs` ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: GSTESTLIBS=$(gnustep-config --gui-libs) In /usr/bin/gnustep-tests line 202: /usr/bin/test $@ ^-- SC2068: Double quote array expansions to avoid re-splitting elements. In /usr/bin/gnustep-tests line 208: MAKE_CMD=`gnustep-config --variable=GNUMAKE` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: MAKE_CMD=$(gnustep-config --variable=GNUMAKE) In /usr/bin/gnustep-tests line 216: MAKE_CMD=make ^------^ SC2209: Use var=$(command) to assign output (or quote to assign string). In /usr/bin/gnustep-tests line 229: TEMP=`echo *` ^------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. Did you mean: TEMP=$(echo *) In /usr/bin/gnustep-tests line 234: if test -d $file -a $file != CVS -a $file != obj ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -d "$file" -a "$file" != CVS -a "$file" != obj In /usr/bin/gnustep-tests line 240: if test x$1 != x ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test x"$1" != x In /usr/bin/gnustep-tests line 242: if test -d $1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -d "$1" In /usr/bin/gnustep-tests line 246: elif test -r $1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: elif test -r "$1" In /usr/bin/gnustep-tests line 248: TESTDIRS=`dirname $1` ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: TESTDIRS=$(dirname "$1") In /usr/bin/gnustep-tests line 249: TESTS=`basename $1` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: TESTS=$(basename "$1") In /usr/bin/gnustep-tests line 250: BARE=`basename $TESTS .m` ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: BARE=$(basename "$TESTS" .m) In /usr/bin/gnustep-tests line 253: BARE=`basename $TESTS .mm` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: BARE=$(basename "$TESTS" .mm) In /usr/bin/gnustep-tests line 256: BARE=`basename $TESTS .c` ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: BARE=$(basename "$TESTS" .c) In /usr/bin/gnustep-tests line 259: BARE=`basename $TESTS .cc` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: BARE=$(basename "$TESTS" .cc) In /usr/bin/gnustep-tests line 308: build_and_run () ^-- SC2120: build_and_run references arguments, but none are ever passed. In /usr/bin/gnustep-tests line 312: TESTNAME=`echo $TESTFILE | sed -e"s/^\(test^.]*\)$/\1.obj./;s/\.[^.]*//g"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TESTNAME=$(echo "$TESTFILE" | sed -e"s/^\(test^.]*\)$/\1.obj./;s/\.[^.]*//g") In /usr/bin/gnustep-tests line 324: tmp=`basename $TESTFILE .m` ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .m) In /usr/bin/gnustep-tests line 327: tmp=`basename $TESTFILE .mm` ^----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .mm) In /usr/bin/gnustep-tests line 330: tmp=`basename $TESTFILE .c` ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .c) In /usr/bin/gnustep-tests line 361: ( . ./make-check.env; . ./TestInfo; $BUILD_CMD) 2>&1 ^--------------^ SC1091: Not following: ./make-check.env was not specified as input (see shellcheck -x). ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). In /usr/bin/gnustep-tests line 363: ( . ./TestInfo; $BUILD_CMD) 2>&1 ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). In /usr/bin/gnustep-tests line 391: echo Running $dir/$TESTFILE... ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo Running "$dir"/"$TESTFILE"... In /usr/bin/gnustep-tests line 398: ( . ./Env.sh; $RUN_CMD ) ^------^ SC1091: Not following: ./Env.sh was not specified as input (see shellcheck -x). In /usr/bin/gnustep-tests line 402: ( . ./make-check.env; . ./TestInfo; $RUN_CMD ) ^--------------^ SC1091: Not following: ./make-check.env was not specified as input (see shellcheck -x). ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). In /usr/bin/gnustep-tests line 404: ( . ./TestInfo; $RUN_CMD ) ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). In /usr/bin/gnustep-tests line 410: if test -r $TESTFILE.abort ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -r "$TESTFILE".abort In /usr/bin/gnustep-tests line 435: echo >> $GSTESTLOG ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo >> "$GSTESTLOG" In /usr/bin/gnustep-tests line 436: echo Testing $TESTFILE... >> $GSTESTLOG ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo Testing "$TESTFILE"... >> "$GSTESTLOG" In /usr/bin/gnustep-tests line 437: echo >> $GSTESTSUM ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo >> "$GSTESTSUM" In /usr/bin/gnustep-tests line 441: build_and_run 2>&1 | tee $GSTESTLOG.tmp ^----------------^ SC2119: Use build_and_run "$@" if function's $1 should mean script's $1. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: build_and_run 2>&1 | tee "$GSTESTLOG".tmp In /usr/bin/gnustep-tests line 443: build_and_run > $GSTESTLOG.tmp 2>&1 ^-- SC2119: Use build_and_run "$@" if function's $1 should mean script's $1. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: build_and_run > "$GSTESTLOG".tmp 2>&1 In /usr/bin/gnustep-tests line 448: cat $GSTESTLOG.tmp >> $GSTESTLOG ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cat "$GSTESTLOG".tmp >> "$GSTESTLOG" In /usr/bin/gnustep-tests line 451: extract $GSTESTLOG.tmp "^Passed test:" "^Failed test:" "^Failed build:" "^Completed file:" "^Failed file:" "^Dashed hope:" "^Failed set:" "^Skipped set:" > $GSTESTSUM.tmp ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: extract "$GSTESTLOG".tmp "^Passed test:" "^Failed test:" "^Failed build:" "^Completed file:" "^Failed file:" "^Dashed hope:" "^Failed set:" "^Skipped set:" > "$GSTESTSUM".tmp In /usr/bin/gnustep-tests line 452: cat $GSTESTSUM.tmp >> $GSTESTSUM ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cat "$GSTESTSUM".tmp >> "$GSTESTSUM" In /usr/bin/gnustep-tests line 455: if present $GSTESTSUM.tmp "^Failed build:" "^Failed file:" "^Failed set:" "^Failed test:" "^Skipped set:" ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if present "$GSTESTSUM".tmp "^Failed build:" "^Failed file:" "^Failed set:" "^Failed test:" "^Skipped set:" In /usr/bin/gnustep-tests line 458: echo $dir/$TESTFILE: ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$dir"/"$TESTFILE": In /usr/bin/gnustep-tests line 459: extract $GSTESTSUM.tmp "^Failed build:" "^Failed file:" "^Failed set:" "^Failed test:" "^Skipped set:" ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: extract "$GSTESTSUM".tmp "^Failed build:" "^Failed file:" "^Failed set:" "^Failed test:" "^Skipped set:" In /usr/bin/gnustep-tests line 501: SRCDIRS=`find $TESTDIR -name "*.m" -o -name "*.c" | sed -e 's;/[^/]*$;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: SRCDIRS=$(find "$TESTDIR" -name "*.m" -o -name "*.c" | sed -e 's;/[^/]*$;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g') In /usr/bin/gnustep-tests line 504: SRCDIRS=`find $TESTDIR \( -name "*.m" -o -name "*.mm" -o -name "*.c" -o -name "*.cc" \) | sed -e 's;/[^/]*$;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: SRCDIRS=$(find "$TESTDIR" \( -name "*.m" -o -name "*.mm" -o -name "*.c" -o -name "*.cc" \) | sed -e 's;/[^/]*$;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g') In /usr/bin/gnustep-tests line 519: if test ! -f $dir/TestInfo ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test ! -f "$dir"/TestInfo In /usr/bin/gnustep-tests line 528: parentdir=`dirname $GSTESTROOT` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: parentdir=$(dirname "$GSTESTROOT") In /usr/bin/gnustep-tests line 532: parentdir=`dirname $GSTESTROOT` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: parentdir=$(dirname "$GSTESTROOT") In /usr/bin/gnustep-tests line 533: if test $parentdir = $GSTESTROOT ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test "$parentdir" = "$GSTESTROOT" In /usr/bin/gnustep-tests line 544: cd $dir ^-----^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$dir" || exit In /usr/bin/gnustep-tests line 554: rm -rf core core.* *.core obj GNUmakefile gdb.cmds tests.log tests.sum oldtests.log oldtests.sum tests.tmp tests.sum.tmp tests.log.tmp make-check.mak make-check.env ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/gnustep-tests line 573: TESTS=`find . \( -name . -o -prune \) \( -name "*.m" -o -name "*.c" \) | sed -e 's;^.*/;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: TESTS=$(find . \( -name . -o -prune \) \( -name "*.m" -o -name "*.c" \) | sed -e 's;^.*/;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g') In /usr/bin/gnustep-tests line 576: TESTS=`find . \( -name . -o -prune \) \( -name "*.m" -o -name "*.mm" -name "*.c" -o -name "*.cc" \) | sed -e 's;^.*/;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: TESTS=$(find . \( -name . -o -prune \) \( -name "*.m" -o -name "*.mm" -name "*.c" -o -name "*.cc" \) | sed -e 's;^.*/;;' | sort -u | sed -e 's/\(^\| \)X[^ ]*//g') In /usr/bin/gnustep-tests line 619: rm -rf core core.* *.core obj GNUmakefile gdb.cmds ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/gnustep-tests line 625: tmp=`basename $TESTFILE .m` ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .m) In /usr/bin/gnustep-tests line 628: tmp=`basename $TESTFILE .mm` ^----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .mm) In /usr/bin/gnustep-tests line 631: tmp=`basename $TESTFILE .c` ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tmp=$(basename "$TESTFILE" .c) In /usr/bin/gnustep-tests line 656: echo "" >>$GSTESTLOG ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "" >>"$GSTESTLOG" In /usr/bin/gnustep-tests line 657: echo "Building in $dir" >>$GSTESTLOG ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Building in $dir" >>"$GSTESTLOG" In /usr/bin/gnustep-tests line 660: ( . ./make-check.env; . ./TestInfo; $MAKE_CMD -j 4 debug=yes) >>$GSTESTLOG 2>&1 ^--------------^ SC1091: Not following: ./make-check.env was not specified as input (see shellcheck -x). ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: ( . ./make-check.env; . ./TestInfo; $MAKE_CMD -j 4 debug=yes) >>"$GSTESTLOG" 2>&1 In /usr/bin/gnustep-tests line 662: ( . ./TestInfo; $MAKE_CMD -j 4 debug=yes) >>$GSTESTLOG 2>&1 ^--------^ SC1091: Not following: ./TestInfo was not specified as input (see shellcheck -x). ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: ( . ./TestInfo; $MAKE_CMD -j 4 debug=yes) >>"$GSTESTLOG" 2>&1 In /usr/bin/gnustep-tests line 684: echo "Failed file: $TESTFILE aborted without running any tests!" | tee -a $GSTESTSUM >> $GSTESTLOG ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Failed file: $TESTFILE aborted without running any tests!" | tee -a "$GSTESTSUM" >> "$GSTESTLOG" In /usr/bin/gnustep-tests line 696: cd $GSTESTDIR ^-----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$GSTESTDIR" || exit In /usr/bin/gnustep-tests line 738: rm -rf core core.* *.core obj GNUmakefile.tmp gdb.cmds tests.tmp tests.sum.tmp tests.log.tmp tests.log tests.sum oldtests.log oldtests.sum ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/gnustep-tests line 767: if test x"$TESTDIRS" = x"$SUMD" -a -r $SUMD/Summary.sh -a -x $SUMD/Summary.sh ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test x"$TESTDIRS" = x"$SUMD" -a -r "$SUMD"/Summary.sh -a -x "$SUMD"/Summary.sh In /usr/bin/gnustep-tests line 774: FAILS=$? ^---^ SC2034: FAILS appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2034 -- FAILS appears unused. Verify use ...