summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-31 03:17:20 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-01 05:48:55 +0000
commit33ceb8b58fb11d47b25128e0b2d614b3cae819a1 (patch)
treeb873176e55ac8fe2970fd9ade33d681fb1175c43
parent0a5aea375d6f90c6b036b75fcb3d8fbd7990b316 (diff)
downloadzsh-33ceb8b58fb11d47b25128e0b2d614b3cae819a1.tar.gz
zsh-33ceb8b58fb11d47b25128e0b2d614b3cae819a1.zip
39787: Add a regression test for 39412.
-rw-r--r--ChangeLog5
-rw-r--r--Test/Y01completion.ztst10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c7b0b8d16..913d1d927 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-01 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * 39787: Test/Y01completion.ztst: Add a regression test for
+ 39412.
+
2016-10-31 Barton E. Schaefer <schaefer@zsh.org>
* 39795: Completion/Unix/Type/_canonical_paths: preserve "cd -"
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 1568369c8..b3f8be45b 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -77,6 +77,16 @@ F:regression test workers/32182
>FI:{file2}
F:regression test workers/31611
+ {
+ mkdir 'A(B)' 'A(B)/C'
+ comptesteval 'cd "A(B)/C"'
+ comptest $'cd ../\t'
+ } always {
+ rmdir 'A(B)/C' 'A(B)'
+ }
+0:directory name is not a glob qualifier
+>line: {cd ../C/}{}
+
%clean
zmodload -ui zsh/zpty