Add workaround for testutils searching for the hishtory dir

This commit is contained in:
David Dworken 2022-11-04 21:50:45 -07:00
parent ae0033fb14
commit 43cc45b80d
No known key found for this signature in database

View File

@ -165,7 +165,7 @@ func buildServer() {
if err != nil { if err != nil {
panic(fmt.Sprintf("failed to getwd: %v", err)) panic(fmt.Sprintf("failed to getwd: %v", err))
} }
if strings.HasSuffix(wd, "/hishtory") { if strings.HasSuffix(wd, "/hishtory") || strings.HasSuffix(wd, "/cirrus-ci-build") {
break break
} }
err = os.Chdir("../") err = os.Chdir("../")