Lines Matching +full:run +full:- +full:shellcheck
6 # Copyright 2008-2020 Kate Ward. All Rights Reserved.
12 ### ShellCheck (http://www.shellcheck.net/)
14 # shellcheck disable=SC1090,SC1091
16 # Exit immediately if a simple command exits with a non-zero status.
17 set -e
20 set -u
23 stdoutF="${TMPDIR:-/tmp}/STDOUT"
24 stderrF="${TMPDIR:-/tmp}/STDERR"
66 …rtTrue '_flags_define() should not overwrite previously defined default.' "${FLAGS_multiDefBool:-}"
70 if ! _flags_define "${__FLAGS_TYPE_STRING}" long-name 'foo' 'dashed name' l; then
77 # shellcheck disable=SC2154
92 while read -r desc ok default want; do
97 assertEquals "${desc}: incorrect FLAGS_boolVal value" "${FLAGS_boolVal:-}" "${want}"
100 if [ "${ok}" -eq "${FLAGS_TRUE}" ]; then
125 got="${FLAGS_floatVal:-}" want="${default}"
153 got="${FLAGS_intVal:-}" want="${default}"
182 got="${FLAGS_strVal:-}" want="${default}"
215 # Load and run shUnit2.
216 # shellcheck disable=SC2034
217 [ -n "${ZSH_VERSION:-}" ] && SHUNIT_PARENT=$0