fix(test): skip TestPrepareCommand_AppliesUserEnv on unsupported operating systems (#2434)
This commit is contained in:
parent
06023c79fa
commit
a9720daa45
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,9 @@ func TestExistingExposePaths_SkipsMissingPaths(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestPrepareCommand_AppliesUserEnv(t *testing.T) {
|
||||
if !isSupportedOn(runtime.GOOS) {
|
||||
t.Skipf("isolation not supported on %s", runtime.GOOS)
|
||||
}
|
||||
t.Setenv(config.EnvHome, filepath.Join(t.TempDir(), "home"))
|
||||
if runtime.GOOS == "linux" {
|
||||
binDir := filepath.Join(t.TempDir(), "bin")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue