fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
e66f6878b
master
1#RUN: fish=%fish %fish %s 2begin 3set -l dir( dirname ( status -f)) 4set -gx XDG_CONFIG_HOME$dir /broken-config/ 5set -gx HOME$dir /broken-config/ 6$fish -l -c'echo but still going' 7# CHECK: broken 8# CHECK: but still going 9# CHECKERR: fish: Unknown command: syntax-error 10# CHECKERR: ~//fish/config.fish (line {{\d+}}): 11# CHECKERR: syntax-error 12# CHECKERR: ^~~~~~~~~~~^ 13# CHECKERR: from sourcing file ~//fish/config.fish 14# CHECKERR: called during startup 15 16$fish -c"echo normal command" -C"echo init" 17# CHECK: broken 18# CHECK: init 19# CHECK: normal command 20end 21 22# should not crash or segfault in the presence of an invalid locale 23LC_ALL=hello echo hello world 24# CHECK: hello world