mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +08: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
|