git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [StGit PATCH 1/1] Add basic test for stg status
@ 2007-08-30 11:11 David Kågedal
  2007-08-30 11:11 ` [StGit PATCH 2/2] Cleanup tree_status and use -z David Kågedal
  2007-08-30 11:14 ` [StGit PATCH 1/1] Add basic test for stg status David Kågedal
  0 siblings, 2 replies; 7+ messages in thread
From: David Kågedal @ 2007-08-30 11:11 UTC (permalink / raw)
  To: git, catalin.marinas; +Cc: David Kågedal


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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-30 12:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 11:11 [StGit PATCH 1/1] Add basic test for stg status David Kågedal
2007-08-30 11:11 ` [StGit PATCH 2/2] Cleanup tree_status and use -z David Kågedal
2007-08-30 12:11   ` Karl Hasselström
2007-08-30 11:14 ` [StGit PATCH 1/1] Add basic test for stg status David Kågedal
2007-08-30 11:34   ` David Kågedal
2007-08-30 12:07     ` Karl Hasselström
2007-08-30 12:45       ` David Kågedal

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).