Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t3430: test clean-up
author
brian m. carlson
<sandals@crustytoothpaste.net>
Fri, 1 Jun 2018 17:46:39 +0000
(17:46 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 4 Jun 2018 02:21:28 +0000
(11:21 +0900)
Remove unnecessary test_tick etc...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3430-rebase-merges.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
5971b08
)
diff --git
a/t/t3430-rebase-merges.sh
b/t/t3430-rebase-merges.sh
index 472ad9463c72245c6ae25454ef65ee8e6790e09e..9fc4648ff8a8e84c772e8f4334b7b2a65df12f22 100755
(executable)
--- a/
t/t3430-rebase-merges.sh
+++ b/
t/t3430-rebase-merges.sh
@@
-70,7
+70,6
@@
test_expect_success 'create completely different structure' '
merge -C H second
merge onebranch # Merge the topic branch '\''onebranch'\''
EOF
merge -C H second
merge onebranch # Merge the topic branch '\''onebranch'\''
EOF
- cp script-from-scratch script-from-scratch-orig &&
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
test_tick &&
git rebase -i -r A &&
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
test_tick &&
git rebase -i -r A &&
@@
-244,17
+243,17
@@
test_expect_success 'refuse to merge ancestors of HEAD' '
test_expect_success 'labels that are object IDs are rewritten' '
git checkout -b third B &&
test_expect_success 'labels that are object IDs are rewritten' '
git checkout -b third B &&
- test_tick &&
test_commit I &&
third=$(git rev-parse HEAD) &&
git checkout -b labels master &&
git merge --no-commit third &&
test_tick &&
git commit -m "Merge commit '\''$third'\'' into labels" &&
test_commit I &&
third=$(git rev-parse HEAD) &&
git checkout -b labels master &&
git merge --no-commit third &&
test_tick &&
git commit -m "Merge commit '\''$third'\'' into labels" &&
-
cp script-from-scratch-orig
script-from-scratch &&
+
echo noop >
script-from-scratch &&
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
test_tick &&
git rebase -i -r A &&
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
test_tick &&
git rebase -i -r A &&
+ grep "^label $third-" .git/ORIGINAL-TODO &&
! grep "^label $third$" .git/ORIGINAL-TODO
'
! grep "^label $third$" .git/ORIGINAL-TODO
'