The following commit has been merged in the master branch:
commit 3a7f1d3de38aac9613a3647c3d1db367f34d2084
Author: Ville Skyttä <[email protected]>
Date: Sat Nov 26 23:26:44 2011 +0200
testsuite/assert_complete_dir: Add note about OLDPWD filtering.
diff --git a/test/lib/library.exp b/test/lib/library.exp
index 816c038..b223325 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -357,8 +357,9 @@ proc assert_complete_any {cmd {test ""} {prompt /@}} {
}
-# Make sure the expected files are returned by TAB-completing the
-# specified command in the specified subdirectory.
+# Make sure the expected files are returned by TAB-completing the specified
+# command in the specified subdirectory. Be prepared to filter out OLDPWD
+# changes when calling assert_env_unmodified() after using this procedure.
# @param list $expected
# @param string $cmd Command given to generate items
# @param string $dir Subdirectory to attempt completion in. The directory
must be relative from the $TESTDIR and without a trailing slash. E.g.
`fixtures/evince'
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits