broken-symbolic-link test to enter a new directory

This was previously dependent on whatever directory we happened to be
in.
This commit is contained in:
ridiculousfish 2021-09-24 17:35:45 -07:00
parent 3b74f6e0c6
commit 4f466cb916

View file

@ -234,6 +234,7 @@ cd ""
echo $status echo $status
# CHECK: 1 # CHECK: 1
cd (mktemp -d)
ln -s no/such/directory broken-symbolic-link ln -s no/such/directory broken-symbolic-link
begin begin
set -lx CDPATH set -lx CDPATH