summary refs log tree commit diff
path: root/Test
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 /Test
parent0a5aea375d6f90c6b036b75fcb3d8fbd7990b316 (diff)
downloadzsh-33ceb8b58fb11d47b25128e0b2d614b3cae819a1.tar.gz
zsh-33ceb8b58fb11d47b25128e0b2d614b3cae819a1.tar.xz
zsh-33ceb8b58fb11d47b25128e0b2d614b3cae819a1.zip
39787: Add a regression test for 39412.
Diffstat (limited to 'Test')
-rw-r--r--Test/Y01completion.ztst10
1 files changed, 10 insertions, 0 deletions
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