Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ref_transaction_commit(): fix atomicity and avoid fd exhaustion
[gitweb.git]
/
t
/
t5560-http-backend-noserver.sh
diff --git
a/t/t5560-http-backend-noserver.sh
b/t/t5560-http-backend-noserver.sh
index 5abd11a5638299f2d3fe41d38f9a3d10050a4e4b..aa73eeaef82adff56083fdc2d5d35d599b73edee 100755
(executable)
--- a/
t/t5560-http-backend-noserver.sh
+++ b/
t/t5560-http-backend-noserver.sh
@@
-5,7
+5,11
@@
test_description='test git-http-backend-noserver'
HTTPD_DOCUMENT_ROOT_PATH="$TRASH_DIRECTORY"
-test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
+if test_have_prereq GREP_STRIPS_CR
+then
+ GREP_OPTIONS=-U
+ export GREP_OPTIONS
+fi
run_backend() {
echo "$2" |