[PATCH 1/3] Robustify rebase test: check patches are reapplied.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yann Dirson
Date: Wednesday, June 6, 2007 - 3:01 pm

Signed-off-by: Yann Dirson <ydirson@altern.org>

---

 t/t2200-rebase.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/t/t2200-rebase.sh b/t/t2200-rebase.sh
index 52462dd..882572c 100755
--- a/t/t2200-rebase.sh
+++ b/t/t2200-rebase.sh
@@ -27,7 +27,8 @@ test_expect_success \
 	'Rebase to previous commit' \
 	'
 	stg rebase master~1 &&
-	test `stg id base@stack` = `git rev-parse master~1`
+	test `stg id base@stack` = `git rev-parse master~1` &&
+	test `stg applied | wc -l` = 1
 	'
 
 test_done

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SGIT PATCH 0/3] Assorted fixes, Yann Dirson, (Wed Jun 6, 3:01 pm)
[PATCH 1/3] Robustify rebase test: check patches are reapp ..., Yann Dirson, (Wed Jun 6, 3:01 pm)
[PATCH 3/3] Fixed typo in contrib/stg-whatchanged., Yann Dirson, (Wed Jun 6, 3:01 pm)