]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4212-log-corrupt.sh
Merge branch 'sg/t0020-conversion-fix'
[thirdparty/git.git] / t / t4212-log-corrupt.sh
index 22aa8b7c0e08d680233ffbcfa9a16d0f57c340d1..03b952c90d2fca011038e38075344530b5d64477 100755 (executable)
@@ -26,22 +26,20 @@ test_expect_success 'git log with broken author email' '
                echo
                echo "    foo"
        } >expect.out &&
-       : >expect.err &&
 
        git log broken_email >actual.out 2>actual.err &&
 
        test_cmp expect.out actual.out &&
-       test_cmp expect.err actual.err
+       test_must_be_empty actual.err
 '
 
 test_expect_success 'git log --format with broken author email' '
        echo "A U Thor+author@example.com+Thu Apr 7 15:13:13 2005 -0700" >expect.out &&
-       : >expect.err &&
 
        git log --format="%an+%ae+%ad" broken_email >actual.out 2>actual.err &&
 
        test_cmp expect.out actual.out &&
-       test_cmp expect.err actual.err
+       test_must_be_empty actual.err
 '
 
 munge_author_date () {