15 lines
373 B
Go
15 lines
373 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
// Integration helpers run this test binary as netssh. An automatic refresh
|
|
// would otherwise launch the test binary again with "cache refresh", rerunning
|
|
// the entire suite. Explicit cache-refresh tests still exercise the real command.
|
|
func TestMain(m *testing.M) {
|
|
_ = os.Setenv("NETSSH_NO_REFRESH", "1")
|
|
os.Exit(m.Run())
|
|
}
|