[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