diff --git a/packer_test/common/check/gadgets.go b/packer_test/common/check/gadgets.go index 9eecc57cf..14761d98c 100644 --- a/packer_test/common/check/gadgets.go +++ b/packer_test/common/check/gadgets.go @@ -198,7 +198,7 @@ func (d dump) Check(stdout, stderr string, err error) error { type PanicCheck struct{} func (_ PanicCheck) Check(stdout, stderr string, _ error) error { - if strings.Contains(stdout, "= PACKER CRASH =") || strings.Contains(stderr, "= PACKER CRASH =") { + if strings.Contains(stdout, "! PACKER CRASH !") || strings.Contains(stderr, "! PACKER CRASH !") { return fmt.Errorf("packer has crashed: this is never normal and should be investigated") } return nil