X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9301-fast-export.sh;h=8c8a9e63c26c594a837d266bff56f5f85cb376c8;hb=974e6e42f7a66b69bd684af4f637ab064acfdf92;hp=4a87f3625800eba388aae336909b765fea431ea1;hpb=34ab57df974ad74cc93550bfac2f90d203837a17;p=git.git diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh index 4a87f3625..8c8a9e63c 100755 --- a/t/t9301-fast-export.sh +++ b/t/t9301-fast-export.sh @@ -8,6 +8,9 @@ test_description='git fast-export' test_expect_success 'setup' ' + echo break it > file0 && + git add file0 && + test_tick && echo Wohlauf > file && git add file && test_tick && @@ -57,15 +60,15 @@ test_expect_success 'fast-export master~2..master' ' (cd new && git fast-import && test $MASTER != $(git rev-parse --verify refs/heads/partial) && - git diff master..partial && - git diff master^..partial^ && + git diff --exit-code master partial && + git diff --exit-code master^ partial^ && test_must_fail git rev-parse partial~2) ' test_expect_success 'iso-8859-1' ' - git config i18n.commitencoding ISO-8859-1 && + git config i18n.commitencoding ISO8859-1 && # use author and committer name in ISO-8859-1 to match it. . "$TEST_DIRECTORY"/t3901-8859-1.txt && test_tick &&