mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 19:41:14 -03:00
13
tests/checks/cd.fish
Normal file
13
tests/checks/cd.fish
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user