2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-14 21:18:45 +00:00
fish-shell/tests/checks/cd.fish

14 lines
208 B
Fish
Raw Normal View History

# RUN: %fish %s
set -l tmp (mktemp -d)
cd $tmp
# resolve CDPATH (issue 6220)
begin
mkdir -p x
# CHECK: /{{.*}}/x
cd x; pwd
# CHECK: /{{.*}}/x
set -lx CDPATH ..; cd x; pwd
end
rm -rf $tmp