carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build linux
2
3package instanceexec
4
5import (
6 "os"
7 "testing"
8)
9
10func TestPlan11Rev3InitObserveHelper(t *testing.T) {
11 if os.Getenv("CARLOS_REV3_OBSERVE_HELPER") != "1" {
12 return
13 }
14 if err := runInit("/bin/sleep", []string{"sleep", "30"}, os.Environ(), func() error { return nil }); err != nil {
15 t.Fatal(err)
16 }
17}
18