Index: third_party/xdg-utils/tests/debug/t.interactive |
=================================================================== |
--- third_party/xdg-utils/tests/debug/t.interactive (revision 0) |
+++ third_party/xdg-utils/tests/debug/t.interactive (revision 0) |
@@ -0,0 +1,20 @@ |
+#!/bin/bash |
+ |
+. "$XDG_TEST_DIR/include/testassertions.sh" |
+. "$XDG_TEST_DIR/include/testcontrol.sh" |
+ |
+test_interactive() { |
+test_start "$FUNCNAME: verify functionallity of assert_interactive" |
+ |
+test_procedure |
+ |
+assert_interactive "Enter 'y'" y |
+assert_interactive "Enter 'n'" n |
+assert_interactive "neg Enter 'y'" n |
+assert_interactive "neg Enter 'n'" y |
+assert_interactive "Wait" |
+ |
+test_result |
+} |
+ |
+run_test test_interactive |
Property changes on: third_party/xdg-utils/tests/debug/t.interactive |
___________________________________________________________________ |
Name: svn:executable |
+ * |