Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t6009: use test_commit() from test-lib.sh
author
Michael J Gruber
<git@drmicha.warpmail.net>
Mon, 21 Mar 2011 10:14:05 +0000
(11:14 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 21 Mar 2011 17:31:37 +0000
(10:31 -0700)
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6009-rev-list-parent.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b1b4755
)
diff --git
a/t/t6009-rev-list-parent.sh
b/t/t6009-rev-list-parent.sh
index 52f7b277ceae3ae183bc6082c01af9f76bd39a86..0f0e45773095f713245092cd94e8e7042a939185 100755
(executable)
--- a/
t/t6009-rev-list-parent.sh
+++ b/
t/t6009-rev-list-parent.sh
@@
-4,25
+4,18
@@
test_description='properly cull all ancestors'
. ./test-lib.sh
-commit () {
- test_tick &&
- echo $1 >file &&
- git commit -a -m $1 &&
- git tag $1
-}
-
test_expect_success setup '
touch file &&
git add file &&
- commit one &&
+
test_
commit one &&
test_tick=$(($test_tick - 2400)) &&
- commit two &&
- commit three &&
- commit four &&
+
test_
commit two &&
+
test_
commit three &&
+
test_
commit four &&
git log --pretty=oneline --abbrev-commit
'