[StGit PATCH] New test: make sure tha we can run "stg help"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Karl Hasselström <kha@xxxxxxxxxxx>

---

David Kågedal pointed out that "stg help" was broken in my
experimental branch. But nothing can be expected to work if it's not
in the test suite ...

 t/t0100-help.sh |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100755 t/t0100-help.sh


diff --git a/t/t0100-help.sh b/t/t0100-help.sh
new file mode 100755
index 0000000..d1550ba
--- /dev/null
+++ b/t/t0100-help.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+test_description='Run "stg help"'
+
+. ./test-lib.sh
+
+test_expect_success 'Run "stg help"' '
+    stg help
+    '
+
+test_expect_success 'Run "stg --help"' '
+    stg --help
+    '
+
+test_done

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux