testscripts: Move server tests to own folder

See #14439
This commit is contained in:
Bjørn Erik Pedersen
2026-01-27 16:53:27 +01:00
parent 5f5b2f378f
commit 00c4228f61
15 changed files with 9 additions and 6 deletions
@@ -0,0 +1,18 @@
hugo server --renderToMemory &
waitServer
stopServer
! stderr .
exists hugo_stats.json
-- hugo.toml --
title = "Hugo Server Test"
baseURL = "https://example.org/"
disableKinds = ["taxonomy", "term", "sitemap"]
[module]
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
-- layouts/home.html --
<body>Home</body>