tests: update test_toolcontext
authorJean Privat <jean@pryen.org>
Thu, 24 Jul 2014 15:38:07 +0000 (11:38 -0400)
committerJean Privat <jean@pryen.org>
Fri, 25 Jul 2014 15:37:02 +0000 (11:37 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/test_toolcontext_args1.res

index df03503..3047835 100644 (file)
@@ -10,7 +10,5 @@ _DUMMY_TOOL()
                COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
                return 0
        fi
-  _filedir
-}
-complete -F _DUMMY_TOOL DUMMY_TOOL
-
+} &&
+complete -o default -F _DUMMY_TOOL DUMMY_TOOL