summaryrefslogtreecommitdiffstats
path: root/testscripts/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-07-19 19:54:36 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-07-19 19:54:36 +0200
commitd947db3713ee492f88db440f4c57bdfae7da5bf7 (patch)
treeaf682f4e50e3b1b865cdad0697bf247c7164a115 /testscripts/commands
parentd8c94c354afb286b4fba9b883e49c1bd2c326bb3 (diff)
commands: Move testscript into its correct place
Diffstat (limited to 'testscripts/commands')
-rw-r--r--testscripts/commands/server__watch_hugo_stats.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/testscripts/commands/server__watch_hugo_stats.txt b/testscripts/commands/server__watch_hugo_stats.txt
new file mode 100644
index 000000000..179e59f8d
--- /dev/null
+++ b/testscripts/commands/server__watch_hugo_stats.txt
@@ -0,0 +1,18 @@
+hugo server &
+
+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/index.html --
+<body>Home</body>