tests: update sav/test_toolcontext* because of the new option
authorJean Privat <jean@pryen.org>
Thu, 16 Apr 2015 16:00:17 +0000 (23:00 +0700)
committerJean Privat <jean@pryen.org>
Thu, 16 Apr 2015 16:00:17 +0000 (23:00 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/test_toolcontext_args1.res
tests/sav/test_toolcontext_args2.res

index 6e0ca35..ad80c05 100644 (file)
@@ -5,7 +5,7 @@ _DUMMY_TOOL()
        COMPREPLY=()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
-       opts="--warn --warning --quiet --stop-on-first-error --no-color --log --log-dir --nit-dir --help --version --set-dummy-tool --verbose --bash-completion --stub-man --option-a --option-b"
+       opts="--warn --warning --quiet --stop-on-first-error --keep-going --no-color --log --log-dir --nit-dir --help --version --set-dummy-tool --verbose --bash-completion --stub-man --option-a --option-b"
        if [[ ${cur} == -* ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
                return 0
index b14caf6..464f929 100644 (file)
@@ -4,6 +4,7 @@ Test for ToolContext, try --bash-completion.
   -w, --warning           Show/hide a specific warning
   -q, --quiet             Do not show warnings
   --stop-on-first-error   Stop on first error
+  --keep-going            Continue after errors, whatever the consequences
   --no-color              Do not use color to display errors and warnings
   --log                   Generate various log files
   --log-dir               Directory where to generate log files