merge-recursive: flush output buffer even when erroring out
[gitweb.git] / t / t1506-rev-parse-diagnosis.sh
index 613d9bfe1bbb153d1c2e647aee26a60e07a6af86..79a0251efa6e049be4fffa41004e73b9950d2bd7 100755 (executable)
@@ -106,7 +106,7 @@ test_expect_success 'incorrect revision id' '
        test_must_fail git rev-parse foobar:file.txt 2>error &&
        grep "Invalid object name '"'"'foobar'"'"'." error &&
        test_must_fail git rev-parse foobar 2> error &&
-       grep "unknown revision or path not in the working tree." error
+       test_i18ngrep "unknown revision or path not in the working tree." error
 '
 
 test_expect_success 'incorrect file in sha1:path' '
@@ -166,11 +166,6 @@ test_expect_success 'relative path when cwd is outside worktree' '
        grep "relative path syntax can.t be used outside working tree." error
 '
 
-test_expect_success 'relative path when startup_info is NULL' '
-       test_must_fail test-match-trees HEAD:./file.txt HEAD:./file.txt 2>error &&
-       grep "BUG: startup_info struct is not initialized." error
-'
-
 test_expect_success '<commit>:file correctly diagnosed after a pathname' '
        test_must_fail git rev-parse file.txt HEAD:file.txt 1>actual 2>error &&
        test_i18ngrep ! "exists on disk" error &&