aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-28 10:07:03 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-28 12:55:44 +0200
commite96cdfe9664cb38c3e16cc00cc630cf6f258d547 (patch)
treed3edecddc0b6a465fecf1d2b60a391236c541e0b /testscripts
parentffdbce5787a45e8537b7a77515ca06e4deee2504 (diff)
downloadhugo-e96cdfe9664cb38c3e16cc00cc630cf6f258d547.tar.gz
hugo-e96cdfe9664cb38c3e16cc00cc630cf6f258d547.zip
Don't create the public folder unless needed
Fixes #11031
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/commands/hugo__noconfig.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/testscripts/commands/hugo__noconfig.txt b/testscripts/commands/hugo__noconfig.txt
index c3a6f6588..21fbdb9a0 100644
--- a/testscripts/commands/hugo__noconfig.txt
+++ b/testscripts/commands/hugo__noconfig.txt
@@ -1,4 +1,8 @@
+mkdir mysite
+cd mysite
! hugo
-stderr 'Unable to locate config file or config directory' \ No newline at end of file
+stderr 'Unable to locate config file or config directory'
+ls .
+stdout 'Empty dir' \ No newline at end of file