fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

NahorAdd tests to exercise all builtin error messages99d63c21f

master
420 B20 linesraw
1#RUN: %fish %s
2
3source /dev/null
4echo $status
5# CHECK: 0
6
7source /
8echo $status
9# CHECKERR: error: Unable to read input file: Is a directory
10# CHECKERR: source: Error while reading file '/'
11# CHECK: 1
12
13source unknown-file
14# CHECKERR: source: Error encountered while sourcing file 'unknown-file':
15# CHECKERR: source: {{.+}}
16
17source <&-
18# CHECKERR: source: stdin is closed
19source - <&-
20# CHECKERR: source: stdin is closed