]> Sergey Matveev's repositories - bfs.git/commitdiff
tests/bfs/help: Fix exit status
authorTavian Barnes <tavianator@tavianator.com>
Mon, 23 Oct 2023 17:46:52 +0000 (13:46 -0400)
committerTavian Barnes <tavianator@tavianator.com>
Mon, 23 Oct 2023 17:46:52 +0000 (13:46 -0400)
tests/bfs/help.sh

index ec53867fcd8e016e0224c34186e20f2c740c7f4f..5029c7ee6e0e2c4860642aeac191d420909e5021 100644 (file)
@@ -1,4 +1,4 @@
-invoke_bfs -help | grep -E '\{...?\}' && fail
-invoke_bfs -D help | grep -E '\{...?\}' && fail
-invoke_bfs -S help | grep -E '\{...?\}' && fail
-invoke_bfs -regextype help | grep -E '\{...?\}' && fail
+! invoke_bfs -help | grep -E '\{...?\}' || fail
+! invoke_bfs -D help | grep -E '\{...?\}' || fail
+! invoke_bfs -S help | grep -E '\{...?\}' || fail
+! invoke_bfs -regextype help | grep -E '\{...?\}' || fail