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+=[^; ]+)/;