]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4202-log.sh
tests: teach callers of test_i18ngrep to use test_grep
[thirdparty/git.git] / t / t4202-log.sh
index af4a123cd223ef5a3cdff9c97cf6af35abe53854..708636671a3fd1dd8b63b34335dbe4535d7c58bb 100755 (executable)
@@ -1884,7 +1884,7 @@ test_expect_success '--no-graph does not unset --parents' '
 
 test_expect_success '--reverse and --graph conflict' '
        test_must_fail git log --reverse --graph 2>stderr &&
-       test_i18ngrep "cannot be used together" stderr
+       test_grep "cannot be used together" stderr
 '
 
 test_expect_success '--reverse --graph --no-graph works' '
@@ -1895,7 +1895,7 @@ test_expect_success '--reverse --graph --no-graph works' '
 
 test_expect_success '--show-linear-break and --graph conflict' '
        test_must_fail git log --show-linear-break --graph 2>stderr &&
-       test_i18ngrep "cannot be used together" stderr
+       test_grep "cannot be used together" stderr
 '
 
 test_expect_success '--show-linear-break --graph --no-graph works' '
@@ -1906,7 +1906,7 @@ test_expect_success '--show-linear-break --graph --no-graph works' '
 
 test_expect_success '--no-walk and --graph conflict' '
        test_must_fail git log --no-walk --graph 2>stderr &&
-       test_i18ngrep "cannot be used together" stderr
+       test_grep "cannot be used together" stderr
 '
 
 test_expect_success '--no-walk --graph --no-graph works' '
@@ -1917,8 +1917,8 @@ test_expect_success '--no-walk --graph --no-graph works' '
 
 test_expect_success '--walk-reflogs and --graph conflict' '
        test_must_fail git log --walk-reflogs --graph 2>stderr &&
-       (test_i18ngrep "cannot combine" stderr ||
-               test_i18ngrep "cannot be used together" stderr)
+       (test_grep "cannot combine" stderr ||
+               test_grep "cannot be used together" stderr)
 '
 
 test_expect_success '--walk-reflogs --graph --no-graph works' '
@@ -2252,7 +2252,7 @@ test_expect_success 'log on empty repo fails' '
        git init empty &&
        test_when_finished "rm -rf empty" &&
        test_must_fail git -C empty log 2>stderr &&
-       test_i18ngrep does.not.have.any.commits stderr
+       test_grep does.not.have.any.commits stderr
 '
 
 test_expect_success REFFILES 'log diagnoses bogus HEAD hash' '
@@ -2260,16 +2260,16 @@ test_expect_success REFFILES 'log diagnoses bogus HEAD hash' '
        test_when_finished "rm -rf empty" &&
        echo 1234abcd >empty/.git/refs/heads/main &&
        test_must_fail git -C empty log 2>stderr &&
-       test_i18ngrep broken stderr
+       test_grep broken stderr
 '
 
 test_expect_success REFFILES 'log diagnoses bogus HEAD symref' '
        git init empty &&
        echo "ref: refs/heads/invalid.lock" > empty/.git/HEAD &&
        test_must_fail git -C empty log 2>stderr &&
-       test_i18ngrep broken stderr &&
+       test_grep broken stderr &&
        test_must_fail git -C empty log --default totally-bogus 2>stderr &&
-       test_i18ngrep broken stderr
+       test_grep broken stderr
 '
 
 test_expect_success 'log does not default to HEAD when rev input is given' '