git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Karl Hasselström <kha@treskal.com>
Date
Sep 23, 2007, 23:51 UTC
Message-ID
<20070923235023.26316.68392.stgit@yoghurt>
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
Message 1 of 1 in “New test: make sure tha we can run "stg help"”
  1. New test: make sure tha we can run "stg help"Karl Hasselström, Sep 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.