git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6bc02d5
)
bisect: add test to check that revs are properly parsed
author
Christian Couder
<redacted>
Thu, 25 Dec 2014 18:25:33 +0000
(19:25 +0100)
committer
Junio C Hamano
<redacted>
Mon, 29 Dec 2014 19:34:05 +0000
(11:34 -0800)
Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6030-bisect-porcelain.sh
patch
|
blob
|
history
diff --git
a/t/t6030-bisect-porcelain.sh
b/t/t6030-bisect-porcelain.sh
index 064f5cefeb4cf7e3bfa2c104384094492dc54f91..e6abe65d5c3370a53e3f034486101a8e9ee4055b 100755
(executable)
--- a/
t/t6030-bisect-porcelain.sh
+++ b/
t/t6030-bisect-porcelain.sh
@@
-779,4
+779,13
@@
test_expect_success 'bisect log: only skip commits left' '
git bisect reset
'
+test_expect_success '"git bisect bad HEAD" behaves as "git bisect bad"' '
+ git checkout parallel &&
+ git bisect start HEAD $HASH1 &&
+ git bisect good HEAD &&
+ git bisect bad HEAD &&
+ test "$HASH6" = $(git rev-parse --verify HEAD) &&
+ git bisect reset
+'
+
test_done
git clone https://git.99rst.org/PROJECT