commit - fe37d792003e1f2936f3fac13f3ffd5b171665d4
commit + 3524375abe3db49d8eb887adc30476044ea029cf
blob - 4614f0ba488f7120e63fb3cfc2191e3c645e3bca
blob + 7a2c2cdb64623705e62a4c5dbdb186ece8b8a933
--- regress/tests.sh
+++ regress/tests.sh
test_macro_expansion() {
cat <<EOF > reg.conf
pwd = "$PWD"
+common_opts = "lang it; auto index on"
server "localhost" {
# the quoting of \$ is for sh
key \$pwd "/localhost.key"
root \$pwd "/testdata"
listen on $REGRESS_HOST port $port
+ @common_opts
}
EOF
run
fetch /
- check_reply "20 text/gemini" "# hello world"
+ check_reply "20 text/gemini;lang=it" "# hello world"
}
test_proxy_relay_to() {