2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-19 16:34:24 +00:00
fish-shell/tests/test_exec_fail.in
Mrmaxmeier 6e9250425a src/exec: fix assertion on failed exec redirection
Minimal reproducer: `fish -c "exec cat<x"`
2019-02-12 20:52:03 -08:00

6 lines
138 B
Fish

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