test-lib: add a PTHREADS prerequisite
[gitweb.git] / t / t4202-log.sh
index 547f4c19a71511933ef308c2378283dc1b4114e0..dbed3efeeeeee6ecb4c6cbe7848c18bd684bb2e1 100755 (executable)
@@ -418,7 +418,9 @@ test_expect_success 'log with various grep.patternType configurations & command-
                        git log --pretty=tformat:%s --perl-regexp \
                                --grep="[\d]\|" >actual.perl.long-arg &&
                        test_cmp expect.perl actual.perl.long-arg
-
+               else
+                       test_must_fail git log --perl-regexp \
+                               --grep="[\d]\|"
                fi &&
                test_cmp expect.fixed actual.fixed.long-arg &&
                test_cmp expect.basic actual.basic.long-arg &&