mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
b62fa53807
the exit status ought to be in 0-255, e.g. exit -1
8 lines
155 B
Fish
8 lines
155 B
Fish
#RUN: %fish -C 'set -l fish %fish' %s
|
|
|
|
$fish -c "echo 1.2.3.4."
|
|
# CHECK: 1.2.3.4.
|
|
|
|
PATH= $fish -c "echo (command a)" 2>/dev/null
|
|
echo $status
|
|
# CHECK: 255
|