Fix server rebuilds on editing content with Chinese terms

Fixes #14240
This commit is contained in:
Bjørn Erik Pedersen
2025-12-05 11:33:55 +01:00
parent 9e7182e9e6
commit e2e64aeec5
5 changed files with 79 additions and 2 deletions
+2 -2
View File
@@ -248,7 +248,7 @@ var commonTestScriptsParam = testscript.Params{
// httpget checks that a HTTP resource's body matches (if it compiles as a regexp) or contains all of the strings given as arguments.
"httpget": func(ts *testscript.TestScript, neg bool, args []string) {
if len(args) < 2 {
ts.Fatalf("usage: httpgrep URL STRING...")
ts.Fatalf("usage: httpget URL STRING...")
}
tryget := func() error {
@@ -375,7 +375,7 @@ var commonTestScriptsParam = testscript.Params{
// The server will write a .ready file when ready.
// We wait for that.
readyFilename := ts.MkAbs(".ready")
limit := time.Now().Add(5 * time.Second)
limit := time.Now().Add(10 * time.Second)
for {
_, err := os.Stat(readyFilename)
if err != nil {