diff options
Diffstat (limited to 'tests/posix/exec_plus_status.sh')
-rw-r--r-- | tests/posix/exec_plus_status.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/posix/exec_plus_status.sh b/tests/posix/exec_plus_status.sh index ea9e5ef..a814c4e 100644 --- a/tests/posix/exec_plus_status.sh +++ b/tests/posix/exec_plus_status.sh @@ -1,4 +1,3 @@ # -exec ... {} + should always return true, but if the command fails, bfs # should exit with a non-zero status -bfs_diff basic -exec false {} + -print -(($? == EX_BFS)) +! bfs_diff basic -exec false {} + -print |