From 4f466cb9163998d1f5740f3e4dc87830a2d0db39 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 24 Sep 2021 17:35:45 -0700 Subject: [PATCH] broken-symbolic-link test to enter a new directory This was previously dependent on whatever directory we happened to be in. --- tests/checks/cd.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/checks/cd.fish b/tests/checks/cd.fish index 66cc8d046..7618d9bcd 100644 --- a/tests/checks/cd.fish +++ b/tests/checks/cd.fish @@ -234,6 +234,7 @@ cd "" echo $status # CHECK: 1 +cd (mktemp -d) ln -s no/such/directory broken-symbolic-link begin set -lx CDPATH