diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 09:44:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 14:04:17 +0100 |
commit | 9c6d377872885fb28f4d8534d6765432e6c23ab6 (patch) | |
tree | 82c76300366e13388820ad7ba77d0201df0571d9 /testscripts | |
parent | 58d7f83390641ca254be4e436ddc4139788af87a (diff) | |
download | hugo-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.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server__edit_config.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server__edit_content.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server__multihost.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server__watch_hugo_stats.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server__watch_moduleconfig.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server_disablelivereload.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server_disablelivereload__config.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server_render_static_to_disk.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server_render_to_memory.txt | 2 |
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 |