From 051118839e3fb490b86c9cf20632d9fb01f7dec3 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 29 Sep 2014 22:09:46 -0400 Subject: [PATCH] tests: update sav/test_toolcontext* Signed-off-by: Jean Privat --- tests/sav/test_toolcontext_args1.res | 2 +- tests/sav/test_toolcontext_args2.res | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/sav/test_toolcontext_args1.res b/tests/sav/test_toolcontext_args1.res index 3047835..5e997e3 100644 --- a/tests/sav/test_toolcontext_args1.res +++ b/tests/sav/test_toolcontext_args1.res @@ -5,7 +5,7 @@ _DUMMY_TOOL() COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="--warn --quiet --stop-on-first-error --no-color --log --log-dir --help --version --set-dummy-tool --verbose --bash-completion --option-a --option-b" + opts="--warn --warning --quiet --stop-on-first-error --no-color --log --log-dir --help --version --set-dummy-tool --verbose --bash-completion --option-a --option-b" if [[ ${cur} == -* ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 diff --git a/tests/sav/test_toolcontext_args2.res b/tests/sav/test_toolcontext_args2.res index 6d772d7..8757721 100644 --- a/tests/sav/test_toolcontext_args2.res +++ b/tests/sav/test_toolcontext_args2.res @@ -1,6 +1,7 @@ Usage: test_toolcontext [OPTION]... Test for ToolContext, try --bash-completion. - -W, --warn Show warnings + -W, --warn Show more warnings + -w, --warning Show/hide a specific warning -q, --quiet Do not show warnings --stop-on-first-error Stop on first error --no-color Do not use color to display errors and warnings -- 1.7.9.5