summaryrefslogtreecommitdiff
path: root/test/unit/_filedir.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/_filedir.exp')
-rw-r--r--test/unit/_filedir.exp3
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