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

[StGit PATCH 1/1] Add basic test for stg status

From
David Kågedal <davidk@lysator.liu.se>
Date
Aug 30, 2007, 11:11 UTC
Message-ID
<11884722703161-git-send-email-davidk@lysator.liu.se>
Signed-off-by: David KÃ¥gedal <davidk@lysator.liu.se>
---

This is very basic, but there was no test at all that ran stg status, so nothing excercised the code changed in the following patch.

 t/t0002-status.sh |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100755 t/t0002-status.sh
diff --git a/t/t0002-status.sh b/t/t0002-status.sh
new file mode 100755
index 0000000..c088d56
--- /dev/null
+++ b/t/t0002-status.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# Copyright (c) 2007 David Kågedal
+#
+
+test_description='Basic stg status
+
+Test that "stg status" works.'
+
+. ./test-lib.sh
+
+test_expect_success 'Run status on empty' \
+  'stg status'
+
+test_done
-- 
1.5.3.rc6.31.g3c3b
Next: David Kågedal
Message 1 of 7 in “Add basic test for stg status”
  1. 1/1 Add basic test for stg statusDavid Kågedal, Aug 30, 2007
  2. 2/2 Cleanup tree_status and use -zDavid Kågedal, Aug 30, 2007
  3. Karl HasselströmAug 30, 2007
  4. David KågedalAug 30, 2007
  5. David KågedalAug 30, 2007
  6. Karl HasselströmAug 30, 2007
  7. David KågedalAug 30, 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.