* [StGit PATCH] New test: make sure tha we can run "stg help"
@ 2007-09-23 23:51 Karl Hasselström
0 siblings, 0 replies; only message in thread
From: Karl Hasselström @ 2007-09-23 23:51 UTC (permalink / raw)
To: Catalin Marinas; +Cc: git, Karl Hasselström
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-23 23:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 23:51 [StGit PATCH] New test: make sure tha we can run "stg help" Karl Hasselström
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).