]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
commands: Move testscript into its correct place
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 19 Jul 2023 17:54:36 +0000 (19:54 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 19 Jul 2023 17:54:36 +0000 (19:54 +0200)
testscripts/commands/server__watch_hugo_stats.txt [new file with mode: 0644]
testscripts/unfinished/server__watch_hugo_stats.txt [deleted file]

diff --git a/testscripts/commands/server__watch_hugo_stats.txt b/testscripts/commands/server__watch_hugo_stats.txt
new file mode 100644 (file)
index 0000000..179e59f
--- /dev/null
@@ -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>
diff --git a/testscripts/unfinished/server__watch_hugo_stats.txt b/testscripts/unfinished/server__watch_hugo_stats.txt
deleted file mode 100644 (file)
index 179e59f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-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>