2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-29 05:13:43 +00:00
fish-shell/tests/test_exec_fail.in

7 lines
138 B
Fish
Raw Normal View History

exec cat < nosuchfile
echo "failed: $status"
not exec cat < nosuchfile
echo "neg failed: $status"
exec cat < /dev/null
echo "not reached"