[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-114-g8726cb1

Ville Skyttä ville.skytta at iki.fi
Sun Jan 1 12:23:42 UTC 2012


The following commit has been merged in the master branch:
commit 8726cb1970510c4af90cd5655c09818fcef663ce
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list