Remove the dedicated test shell scripts and instead auto-generate them

This commit is contained in:
David Dworken
2022-10-23 17:35:02 -07:00
parent 253f2fdc27
commit 41586ba034
8 changed files with 46 additions and 131 deletions

View File

@@ -294,8 +294,8 @@ func testBasicUserFlow(t *testing.T, tester shellTester) string {
if err != nil {
t.Fatalf("failed to read config.sh: %v", err)
}
if !strings.Contains(string(dat), "except it doesn't run the save process in the background") {
t.Fatalf("config.sh is the prod version when it shouldn't be, config.sh=%#v", dat)
if strings.Contains(string(dat), "# Background Run") {
t.Fatalf("config.sh is the prod version when it shouldn't be, config.sh=%#v", string(dat))
}
// Test the banner