Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/t7811-grep-open.sh: ensure fake "less" is made executable
[gitweb.git]
/
t
/
t7811-grep-open.sh
diff --git
a/t/t7811-grep-open.sh
b/t/t7811-grep-open.sh
index 8db4fc8b10893b95b4fd8c44de4bbf78d639d6d9..2e5c701566e007905825e79e55a03696895815e8 100755
(executable)
--- a/
t/t7811-grep-open.sh
+++ b/
t/t7811-grep-open.sh
@@
-84,10
+84,11
@@
test_expect_success 'git grep -O --no-index' '
'
test_expect_success 'setup: fake "less"' '
- cat >less <<-\EOF
+ cat >less <<-\EOF
&&
#!/bin/sh
printf "%s\n" "$@" >actual
EOF
+ chmod +x less
'
test_expect_success 'git grep -O jumps to line in less' '