testsuite(_filedir): Ignore compopt error msg when invoking _filedir directly.

The error message is printed since commit 5fcaad8.
This commit is contained in:
Ville Skyttä 2012-01-01 14:21:08 +02:00
parent 59a8a9c41b
commit 8726cb1970

View File

@ -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