The following commit has been merged in the master branch:
commit 8726cb1970510c4af90cd5655c09818fcef663ce
Author: Ville Skyttä <[email protected]>
Date: Sun Jan 1 14:21:08 2012 +0200
testsuite(_filedir): Ignore compopt error msg when invoking _filedir
directly.
The error message is printed since commit 5fcaad8.
diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp
index 0bba831..62c5955 100644
--- a/test/unit/_filedir.exp
+++ b/test/unit/_filedir.exp
@@ -46,7 +46,8 @@ setup
set test "_filedir should run without errors"
-assert_bash_exec {_filedir > /dev/null} $test
+# Filter out "compopt: not currently executing completion function" error msg
+assert_bash_exec {_filedir 2>&1 >/dev/null | sed -e /compopt:/d} $test
sync_after_int
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits