Merge branch 'sg/t3420-autostash-fix'
Test fixes. * sg/t3420-autostash-fix: t3420-rebase-autostash: don't try to grep non-existing filesmaint
commit
56ce87daff
|
@ -202,7 +202,7 @@ testrebase () {
|
||||||
echo dirty >>file3 &&
|
echo dirty >>file3 &&
|
||||||
test_must_fail git rebase$type related-onto-branch &&
|
test_must_fail git rebase$type related-onto-branch &&
|
||||||
test_path_is_file $dotest/autostash &&
|
test_path_is_file $dotest/autostash &&
|
||||||
! grep dirty file3 &&
|
test_path_is_missing file3 &&
|
||||||
rm -rf $dotest &&
|
rm -rf $dotest &&
|
||||||
git reset --hard &&
|
git reset --hard &&
|
||||||
git checkout feature-branch
|
git checkout feature-branch
|
||||||
|
@ -216,7 +216,7 @@ testrebase () {
|
||||||
echo dirty >>file3 &&
|
echo dirty >>file3 &&
|
||||||
test_must_fail git rebase$type related-onto-branch &&
|
test_must_fail git rebase$type related-onto-branch &&
|
||||||
test_path_is_file $dotest/autostash &&
|
test_path_is_file $dotest/autostash &&
|
||||||
! grep dirty file3 &&
|
test_path_is_missing file3 &&
|
||||||
echo "conflicting-plus-goodbye" >file2 &&
|
echo "conflicting-plus-goodbye" >file2 &&
|
||||||
git add file2 &&
|
git add file2 &&
|
||||||
git rebase --continue &&
|
git rebase --continue &&
|
||||||
|
@ -233,7 +233,7 @@ testrebase () {
|
||||||
echo dirty >>file3 &&
|
echo dirty >>file3 &&
|
||||||
test_must_fail git rebase$type related-onto-branch &&
|
test_must_fail git rebase$type related-onto-branch &&
|
||||||
test_path_is_file $dotest/autostash &&
|
test_path_is_file $dotest/autostash &&
|
||||||
! grep dirty file3 &&
|
test_path_is_missing file3 &&
|
||||||
git rebase --skip &&
|
git rebase --skip &&
|
||||||
test_path_is_missing $dotest/autostash &&
|
test_path_is_missing $dotest/autostash &&
|
||||||
grep dirty file3 &&
|
grep dirty file3 &&
|
||||||
|
@ -248,7 +248,7 @@ testrebase () {
|
||||||
echo dirty >>file3 &&
|
echo dirty >>file3 &&
|
||||||
test_must_fail git rebase$type related-onto-branch &&
|
test_must_fail git rebase$type related-onto-branch &&
|
||||||
test_path_is_file $dotest/autostash &&
|
test_path_is_file $dotest/autostash &&
|
||||||
! grep dirty file3 &&
|
test_path_is_missing file3 &&
|
||||||
git rebase --abort &&
|
git rebase --abort &&
|
||||||
test_path_is_missing $dotest/autostash &&
|
test_path_is_missing $dotest/autostash &&
|
||||||
grep dirty file3 &&
|
grep dirty file3 &&
|
||||||
|
|
Loading…
Reference in New Issue