// Copyright Earl Warren // Copyright Loïc Dachary // Copyright twenty-panda // SPDX-License-Identifier: MIT package hoverfly import ( "os" "testing" ) func TestMain(m *testing.M) { if val, ok := os.LookupEnv("HOVERFLY"); ok { defer func() { os.Setenv("HOVERFLY", val) }() } code := m.Run() exit = os.Exit getwd = os.Getwd exit(code) }