diff options
author | David Phillips <david@yeah.nah.nz> | 2020-09-05 15:44:37 +1200 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2020-09-05 15:56:17 +1200 |
commit | 76f2d2c7429a4b85aceafa0080df0af3cd1ad2b5 (patch) | |
tree | 0c52782a55fe430c7f40ed79f647afe42e54a273 /test/001-error-no-args.test/run.sh | |
parent | 6d81ef9443797d9174fc0849f8ec01d423754490 (diff) | |
download | sand-leek-76f2d2c7429a4b85aceafa0080df0af3cd1ad2b5.tar.xz |
Adjust tests to pass shellcheck
Fixes warnings around use of various shell no-nos
Diffstat (limited to 'test/001-error-no-args.test/run.sh')
-rwxr-xr-x | test/001-error-no-args.test/run.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/001-error-no-args.test/run.sh b/test/001-error-no-args.test/run.sh index fae5bd4..693ea48 100755 --- a/test/001-error-no-args.test/run.sh +++ b/test/001-error-no-args.test/run.sh @@ -1,7 +1,6 @@ #!/bin/sh -${EXECUTABLE} -A -if [ $? -eq 0 ]; then +if ${EXECUTABLE} -A ; then exit 1 else exit 0 |