aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-02-05 09:44:28 +0100
committerBjørn Erik Pedersen <[email protected]>2024-02-05 14:04:17 +0100
commit9c6d377872885fb28f4d8534d6765432e6c23ab6 (patch)
tree82c76300366e13388820ad7ba77d0201df0571d9 /testscripts
parent58d7f83390641ca254be4e436ddc4139788af87a (diff)
downloadhugo-9c6d377872885fb28f4d8534d6765432e6c23ab6.tar.gz
hugo-9c6d377872885fb28f4d8534d6765432e6c23ab6.zip
commands: Make the server flag --renderToDisk into --renderToMemory (note)
Fixes #11987
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/commands/server.txt2
-rw-r--r--testscripts/commands/server__edit_config.txt2
-rw-r--r--testscripts/commands/server__edit_content.txt2
-rw-r--r--testscripts/commands/server__multihost.txt2
-rw-r--r--testscripts/commands/server__watch_hugo_stats.txt2
-rw-r--r--testscripts/commands/server__watch_moduleconfig.txt2
-rw-r--r--testscripts/commands/server_disablelivereload.txt2
-rw-r--r--testscripts/commands/server_disablelivereload__config.txt2
-rw-r--r--testscripts/commands/server_render_static_to_disk.txt2
-rw-r--r--testscripts/commands/server_render_to_memory.txt2
10 files changed, 10 insertions, 10 deletions
diff --git a/testscripts/commands/server.txt b/testscripts/commands/server.txt
index 777a91454..83e3ceafd 100644
--- a/testscripts/commands/server.txt
+++ b/testscripts/commands/server.txt
@@ -1,7 +1,7 @@
# Test the hugo server command.
# We run these tests in parallel so let Hugo decide which port to use.
-hugo server --gc &
+hugo server --renderToMemory --gc &
waitServer
diff --git a/testscripts/commands/server__edit_config.txt b/testscripts/commands/server__edit_config.txt
index e3972bf07..3997ca895 100644
--- a/testscripts/commands/server__edit_config.txt
+++ b/testscripts/commands/server__edit_config.txt
@@ -1,7 +1,7 @@
# Test the hugo server command when editing the config file.
# We run these tests in parallel so let Hugo decide which port to use.
-hugo server &
+hugo server --renderToMemory &
waitServer
diff --git a/testscripts/commands/server__edit_content.txt b/testscripts/commands/server__edit_content.txt
index 5a2d9d502..0aca2e892 100644
--- a/testscripts/commands/server__edit_content.txt
+++ b/testscripts/commands/server__edit_content.txt
@@ -2,7 +2,7 @@
# We run these tests in parallel so let Hugo decide which port to use.
# Render to disk so we can check the /public dir.
-hugo server --renderToDisk &
+hugo server &
waitServer
diff --git a/testscripts/commands/server__multihost.txt b/testscripts/commands/server__multihost.txt
index 492cac855..888886370 100644
--- a/testscripts/commands/server__multihost.txt
+++ b/testscripts/commands/server__multihost.txt
@@ -1,7 +1,7 @@
# Test the hugo server command.
# We run these tests in parallel so let Hugo decide which port to use.
-hugo server &
+hugo server --renderToMemory &
waitServer
diff --git a/testscripts/commands/server__watch_hugo_stats.txt b/testscripts/commands/server__watch_hugo_stats.txt
index 179e59f8d..da4ffc19f 100644
--- a/testscripts/commands/server__watch_hugo_stats.txt
+++ b/testscripts/commands/server__watch_hugo_stats.txt
@@ -1,4 +1,4 @@
-hugo server &
+hugo server --renderToMemory &
waitServer
stopServer
diff --git a/testscripts/commands/server__watch_moduleconfig.txt b/testscripts/commands/server__watch_moduleconfig.txt
index 867669754..bd84a1449 100644
--- a/testscripts/commands/server__watch_moduleconfig.txt
+++ b/testscripts/commands/server__watch_moduleconfig.txt
@@ -1,4 +1,4 @@
-hugo server --disableLiveReload &
+hugo server --renderToMemory --disableLiveReload &
waitServer
stopServer
diff --git a/testscripts/commands/server_disablelivereload.txt b/testscripts/commands/server_disablelivereload.txt
index 6b1cd66cb..f3f163c83 100644
--- a/testscripts/commands/server_disablelivereload.txt
+++ b/testscripts/commands/server_disablelivereload.txt
@@ -1,4 +1,4 @@
-hugo server --renderToDisk --disableLiveReload &
+hugo server --disableLiveReload &
waitServer
diff --git a/testscripts/commands/server_disablelivereload__config.txt b/testscripts/commands/server_disablelivereload__config.txt
index fe49ff247..a71cde12b 100644
--- a/testscripts/commands/server_disablelivereload__config.txt
+++ b/testscripts/commands/server_disablelivereload__config.txt
@@ -1,4 +1,4 @@
-hugo server --renderToDisk &
+hugo server &
waitServer
diff --git a/testscripts/commands/server_render_static_to_disk.txt b/testscripts/commands/server_render_static_to_disk.txt
index b0e76e318..98d6c0de8 100644
--- a/testscripts/commands/server_render_static_to_disk.txt
+++ b/testscripts/commands/server_render_static_to_disk.txt
@@ -1,7 +1,7 @@
# Test the hugo server command.
# We run these tests in parallel so let Hugo decide which port to use.
-hugo server --renderStaticToDisk &
+hugo server --renderToMemory --renderStaticToDisk &
waitServer
diff --git a/testscripts/commands/server_render_to_memory.txt b/testscripts/commands/server_render_to_memory.txt
index 368efe41d..afff92126 100644
--- a/testscripts/commands/server_render_to_memory.txt
+++ b/testscripts/commands/server_render_to_memory.txt
@@ -2,7 +2,7 @@
# We run these tests in parallel so let Hugo decide which port to use.
# Deliberately using the alias 'serve' here.
-hugo serve &
+hugo serve --renderToMemory &
waitServer