summaryrefslogtreecommitdiff
path: root/Test/B01cd.ztst
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2020-02-03 07:08:54 +0000
committerDaniel Shahaf <danielsh@apache.org>2020-02-03 07:09:30 +0000
commit3bcf9641eb2a8d39deda166579294ef515172d85 (patch)
treeb7797141021c2583eed52c615edc1ff25fe0621e /Test/B01cd.ztst
parente01223a26cb7afd9f44805f067c4dcdad06039b0 (diff)
downloadzsh-3bcf9641eb2a8d39deda166579294ef515172d85.tar.gz
zsh-3bcf9641eb2a8d39deda166579294ef515172d85.zip
45368: Add tests for workers/45367's issue about double slashes in 'cd -P' and /home/daniel/in/zsh.
Diffstat (limited to 'Test/B01cd.ztst')
-rw-r--r--Test/B01cd.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst
index 3312f8707..d903b7462 100644
--- a/Test/B01cd.ztst
+++ b/Test/B01cd.ztst
@@ -145,6 +145,10 @@ F:something is broken. But you already knew that.
1:Implicit cd with unset HOME.
?zsh:cd:1: HOME not set
+ $ZTST_testdir/../Src/zsh -fc 'cd -P ////dev && pwd'
+-f:(workers/45367) cd -P squashes multiple leading slashes
+>/dev
+
%clean
# This optional section cleans up after the test, if necessary,
# e.g. killing processes etc. This is in addition to the removal of *.tmp