mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-14 05:31:14 -03: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
|