From: "David Kågedal" <davidk@lysator.liu.se>
To: git@vger.kernel.org, catalin.marinas@gmail.com
Cc: "David Kågedal" <davidk@lysator.liu.se>
Subject: [StGit PATCH 1/1] Add basic test for stg status
Date: Thu, 30 Aug 2007 13:11:09 +0200 [thread overview]
Message-ID: <11884722703161-git-send-email-davidk@lysator.liu.se> (raw)
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 reply other threads:[~2007-08-30 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 11:11 David Kågedal [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11884722703161-git-send-email-davidk@lysator.liu.se \
--to=davidk@lysator.liu.se \
--cc=catalin.marinas@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).