chiark / gitweb /
Testing: Fix up $url management
[cgi-auth-flexible.git] / tests / wrap
index fefbef42c4bbd867a685fdc7349cf3730f334a32..c401f5738b5c8062637cb6a4543a288684922d77 100755 (executable)
@@ -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_URLBASE=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+=[^; ]+)/;