Index: third_party/xdg-utils/tests/generic/t.version |
=================================================================== |
--- third_party/xdg-utils/tests/generic/t.version (revision 0) |
+++ third_party/xdg-utils/tests/generic/t.version (revision 0) |
@@ -0,0 +1,26 @@ |
+#!/bin/bash |
+ |
+. "$XDG_TEST_DIR/include/testassertions.sh" |
+ |
+ |
+generic_version() { |
+test_start "$FUNCNAME: generic version arg - $XDGUTIL" |
+ |
+test_purpose "Ensure that $XDGUTIL prints the version information and exists with code 0." |
+ |
+# Dependencies section |
+test_init |
+ |
+assert_util_var |
+set_no_display |
+ |
+# Test steps section |
+test_procedure |
+ |
+assert_exit 0 "$XDGUTIL" "--version" |
+assert_stdout |
+assert_nostderr |
+ |
+test_result |
+} |
+GENERIC_TEST="generic_version" |
Property changes on: third_party/xdg-utils/tests/generic/t.version |
___________________________________________________________________ |
Name: svn:executable |
+ * |