Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: Add basic tests
[gitweb.git]
/
t
/
t7811-grep-open.sh
diff --git
a/t/t7811-grep-open.sh
b/t/t7811-grep-open.sh
index 568a6f2b69ab5003c00f206806c3fe6289f63a98..aedf484feeb9da05054f18ab2f4913865048fe35 100755
(executable)
--- a/
t/t7811-grep-open.sh
+++ b/
t/t7811-grep-open.sh
@@
-61,7
+61,7
@@
test_expect_success SIMPLEPAGER 'git grep -O' '
test_cmp empty out
'
-test_expect_success 'git grep -O --cached' '
+test_expect_success
C_LOCALE_OUTPUT
'git grep -O --cached' '
test_must_fail git grep --cached -O GREP_PATTERN >out 2>msg &&
grep open-files-in-pager msg
'