about summary refs log tree commit diff
diff options
context:
space:
mode:
-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