diff options
author | Omar Polo <op@omarpolo.com> | 2024-01-26 15:34:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-01-26 15:34:46 +0000 |
commit | 3524375abe3db49d8eb887adc30476044ea029cf (patch) | |
tree | e2b12bd485bfcc63dbd7798a70188e3084aba3ae | |
parent | fe37d792003e1f2936f3fac13f3ffd5b171665d4 (diff) |
add a test that uses @-style macros
See Codeberg issue #1.
-rw-r--r-- | regress/tests.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/tests.sh b/regress/tests.sh index 4614f0b..7a2c2cd 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -287,6 +287,7 @@ test_fastcgi_deprecated_syntax() { test_macro_expansion() { cat <<EOF > reg.conf pwd = "$PWD" +common_opts = "lang it; auto index on" server "localhost" { # the quoting of \$ is for sh @@ -294,6 +295,7 @@ server "localhost" { key \$pwd "/localhost.key" root \$pwd "/testdata" listen on $REGRESS_HOST port $port + @common_opts } EOF @@ -305,7 +307,7 @@ EOF run fetch / - check_reply "20 text/gemini" "# hello world" + check_reply "20 text/gemini;lang=it" "# hello world" } test_proxy_relay_to() { |