tests: update sav/test_toolcontext*
authorJean Privat <jean@pryen.org>
Tue, 4 Nov 2014 13:59:13 +0000 (08:59 -0500)
committerJean Privat <jean@pryen.org>
Tue, 4 Nov 2014 16:14:12 +0000 (11:14 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

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

index 800327a..6e0ca35 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 --help --version --set-dummy-tool --verbose --bash-completion --stub-man --option-a --option-b"
+       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"
        if [[ ${cur} == -* ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
                return 0
index 91fa2fa..b14caf6 100644 (file)
@@ -7,12 +7,10 @@ Test for ToolContext, try --bash-completion.
   --no-color              Do not use color to display errors and warnings
   --log                   Generate various log files
   --log-dir               Directory where to generate log files
+  --nit-dir               Base directory of the Nit installation
   -h, -?, --help          Show Help (This screen)
   --version               Show version and exit
-  --set-dummy-tool        Set toolname and version to DUMMY. Useful for testing
   -v, --verbose           Verbose
-  --bash-completion       Generate bash_completion file for this program
-  --stub-man              Generate a stub manpage in pandoc markdown format
   -a, --option-a          option a, do nothing
   -b, --option-b          option b, do nothing
   -c                      option c, do nothing