chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testing: Tidy up html a bit
[cgi-auth-flexible.git]
/
tests
/
wrap
diff --git
a/tests/wrap
b/tests/wrap
index fefbef42c4bbd867a685fdc7349cf3730f334a32..c401f5738b5c8062637cb6a4543a288684922d77 100755
(executable)
--- a/
tests/wrap
+++ b/
tests/wrap
@@
-3,7
+3,7
@@
set -e
cd "$CAFTEST_CAF"
exec 2>>tests/tmp/wrap.log
export HTTP_COOKIE=$(cat "tests/tmp/cookie")
cd "$CAFTEST_CAF"
exec 2>>tests/tmp/wrap.log
export HTTP_COOKIE=$(cat "tests/tmp/cookie")
-export CAFTEST_URL
=file:///cgi-bin/wrap
+export CAFTEST_URL
BASE=file:///
tests/cgi "$@" | perl -pe '
next if m/^$/..0;
next unless m/Set-Cookie: (\w+=[^; ]+)/;
tests/cgi "$@" | perl -pe '
next if m/^$/..0;
next unless m/Set-Cookie: (\w+=[^; ]+)/;