diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2012-01-01 14:21:08 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2012-01-01 14:21:08 +0200 |
commit | 8726cb1970510c4af90cd5655c09818fcef663ce (patch) | |
tree | 3794e304d67dca91fc80c766a473bef330e91ded | |
parent | 59a8a9c41b222d8bff2b053d7a95227ef512b2e1 (diff) | |
download | bash-completion-8726cb1970510c4af90cd5655c09818fcef663ce.tar.gz |
testsuite(_filedir): Ignore compopt error msg when invoking _filedir directly.
The error message is printed since commit 5fcaad8.
-rw-r--r-- | test/unit/_filedir.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp index 0bba8314..62c59551 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 |