Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/t3403-rebase-skip.sh: use the $( ... ) construct for command substitution
[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 9d54ef478c24c9062d181a086e0a2a929600c3e3..9fafcf194589218e28b894a7bd9e83c9a1893fbf 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" |