X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9301-fast-export.sh;h=b860626bee818d77509022d67121b37eab0ced07;hb=ebeec7dbc564cb83edd8faee87890c47b6f0da43;hp=99857210555288cf5ca8f4fa4d1e94bfe557fbd2;hpb=5cb0f2745f83c01ee94d1739b7476504b4e20216;p=git.git diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh index 998572105..b860626be 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,8 +60,8 @@ 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) ' @@ -185,8 +188,8 @@ test_expect_success 'submodule fast-export | fast-import' ' ' -export GIT_AUTHOR_NAME='A U Thor' -export GIT_COMMITTER_NAME='C O Mitter' +GIT_AUTHOR_NAME='A U Thor'; export GIT_AUTHOR_NAME +GIT_COMMITTER_NAME='C O Mitter'; export GIT_COMMITTER_NAME test_expect_success 'setup copies' '