| Index: third_party/xdg-utils/tests/generic/t.help
|
| ===================================================================
|
| --- third_party/xdg-utils/tests/generic/t.help (revision 0)
|
| +++ third_party/xdg-utils/tests/generic/t.help (revision 0)
|
| @@ -0,0 +1,25 @@
|
| +#!/bin/bash
|
| +
|
| +. "$XDG_TEST_DIR/include/testassertions.sh"
|
| +
|
| +
|
| +generic_help() {
|
| +test_start "$FUNCNAME: generic help message - $XDGUTIL"
|
| +test_purpose "Ensure that $XDGUTIL prints it's help message and exits with 0 when called with the --help argument."
|
| +
|
| +# Dependencies section
|
| +test_init
|
| +
|
| +assert_util_var
|
| +set_no_display
|
| +
|
| +# Test steps section
|
| +test_procedure
|
| +
|
| +assert_exit 0 "$XDGUTIL" "--help"
|
| +assert_stdout
|
| +assert_nostderr
|
| +
|
| +test_result
|
| +}
|
| +GENERIC_TEST="generic_help"
|
|
|
| Property changes on: third_party/xdg-utils/tests/generic/t.help
|
| ___________________________________________________________________
|
| Name: svn:executable
|
| + *
|
|
|
|
|