summaryrefslogtreecommitdiffstats
path: root/tests/posix/exec_nonexistent.sh
blob: a9ff052b30dbbcd3210b58cf180fa59f69b7285c (plain)
1
2
3
4
# Failure to execute the command should lead to an error message and
# non-zero exit status.  See https://unix.stackexchange.com/q/704522/56202
bfs_diff basic -print -exec "$TESTS/nonexistent" {} \; -print 2>"$TEST/err" && fail
test -s "$TEST/err"