aboutsummaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-08-24 09:13:52 +0000
committerOmar Polo <op@omarpolo.com>2024-08-24 09:13:52 +0000
commit2fb3a49b7dbf5c701a36501de3b8fd7173b10912 (patch)
treee1fb5e8b8a270d5ebc719f7e0a94dd599a3206fb /regress
parent381679cdc10b6d8b5925fc51352af4e3ed18404f (diff)
improve tests
Diffstat (limited to 'regress')
-rw-r--r--regress/tests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/tests.sh b/regress/tests.sh
index 65a33a7..b5fa93e 100644
--- a/regress/tests.sh
+++ b/regress/tests.sh
@@ -91,9 +91,10 @@ test_static_files() {
}
test_alias() {
- setup_simple_test '' 'alias "localhost.local"'
- gghost=localhost.local
- ggflags="-P localhost:$port -H localhost.local"
+ alias="foo.example"
+ setup_simple_test '' "alias '$alias'"
+ gghost="$alias"
+ ggflags="-P localhost:$port -H $alias"
fetch /
check_reply "20 text/gemini" "# hello world" || return 1