mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
12 lines
201 B
Fish
12 lines
201 B
Fish
|
#RUN: %fish %s
|
||
|
|
||
|
source /dev/null
|
||
|
echo $status
|
||
|
# CHECK: 0
|
||
|
|
||
|
source /
|
||
|
echo $status
|
||
|
# CHECKERR: error: Unable to read input file: Is a directory
|
||
|
# CHECKERR: source: Error while reading file '/'
|
||
|
# CHECK: 1
|