testsuite(_filedir): Ignore compopt error msg when invoking _filedir directly.
The error message is printed since commit 5fcaad8.
This commit is contained in:
parent
59a8a9c41b
commit
8726cb1970
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user