fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
440e7fcbc
master
1#RUN: fish=%fish %fish %s 2 3# Cygwin/MSYS PATH automatically inherits the Windows PATH 4# REQUIRES: %fish -c "not __fish_is_cygwin" 5 6if command -q getconf 7# (no env -u, some systems don't support that) 8set -l getconf( command -s getconf) 9set -e PATH 10$fish -c'test "$PATH" = "$('" $getconf "' PATH)"; and echo Success' 11else 12# this is DEFAULT_PATH 13# the first element (usually `/usr/local/bin`) depends on PREFIX set in CMake, so we ignore it 14set -e PATH 15$fish -c'test "$PATH[2..]" = "/usr/bin:/bin"; and echo Success' 16end 17# CHECK: Success 18 19# Note: $PATH is now busted, I suggest abandoning this file.