- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 180 for SkipIf (0.2 sec)
-
src/syscall/exec_pdeathsig_test.go
// TestDeathSignalSetuid verifies that a command run with a different UID still // receives PDeathsig; it is a regression test for https://go.dev/issue/9686. func TestDeathSignalSetuid(t *testing.T) { if testing.Short() { t.Skipf("skipping test that copies its binary into temp dir") } // Copy the test binary to a location that another user can read/execute // after we drop privileges. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 21:23:17 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/tsan_test.go
t.Fatal(err) } goarch, err := goEnv("GOARCH") if err != nil { t.Fatal(err) } // The msan tests require support for the -msan option. if !compilerRequiredTsanVersion(goos, goarch) { t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch) } t.Parallel() requireOvercommit(t) config := configure("thread") config.skipIfCSanitizerBroken(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 1.9K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris": default: t.Skipf("skipping; not supported on %v", runtime.GOOS) } if runtime.GOOS == "openbsd" && (runtime.GOARCH == "arm" || runtime.GOARCH == "mips64" || runtime.GOARCH == "ppc64") { // This may be ncpu < 2 related... t.Skipf("skipping; test fails on %s/%s - see issue #42464", runtime.GOOS, runtime.GOARCH) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/badsym_test.go
} } } func cCompilerCmd(t *testing.T) []string { cc, err := quoted.Split(goEnv(t, "CC")) if err != nil { t.Skipf("parsing go env CC: %s", err) } if len(cc) == 0 { t.Skipf("no C compiler") } testenv.MustHaveExecPath(t, cc[0]) out := goEnv(t, "GOGCCFLAGS") quote := '\000' start := 0 lastSpace := true backslash := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/os/pidfd_linux_test.go
"testing" ) func TestFindProcessViaPidfd(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() if err := os.CheckPidfdOnce(); err != nil { // Non-pidfd code paths tested in exec_unix_test.go. t.Skipf("skipping: pidfd not available: %v", err) } p, err := os.StartProcess(testenv.GoToolPath(t), []string{"go"}, &os.ProcAttr{}) if err != nil { t.Fatalf("starting test process: %v", err) } p.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.6K bytes - Viewed (0) -
src/os/exec_unix_test.go
} } func TestUNIXProcessAlive(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() p, err := StartProcess(testenv.GoToolPath(t), []string{"sleep", "1"}, &ProcAttr{}) if err != nil { t.Skipf("starting test process: %v", err) } defer p.Kill() proc, err := FindProcess(p.Pid) if err != nil { t.Errorf("OS reported error for running process: %v", err) } err = proc.Signal(syscall.Signal(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/compress/gzip/issue14937_test.go
if err != nil { return err } if !info.IsDir() && strings.HasSuffix(path, ".gz") { files = append(files, path) } return nil }) if err != nil { if os.IsNotExist(err) { t.Skipf("skipping: GOROOT directory not found: %s", runtime.GOROOT()) } t.Fatal("error collecting list of .gz files in GOROOT: ", err) } if len(files) == 0 { t.Fatal("expected to find some .gz files under GOROOT") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 16:37:53 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/go/internal/str/str_test.go
if got != tt.want { t.Errorf("HasPathPrefix(%q, %q) = %v; want %v", tt.s, tt.prefix, got, tt.want) } } } func TestTrimFilePathPrefixSlash(t *testing.T) { if os.PathSeparator != '/' { t.Skipf("test requires slash-separated file paths") } type testCase struct { s, prefix, want string } for _, tt := range []testCase{ {"/", "", "/"}, {"/", "/", ""}, {"/foo", "", "/foo"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 16:49:13 UTC 2023 - 5.4K bytes - Viewed (0) -
tests/integration/pilot/multi_version_revision_test.go
func skipIfK8sVersionUnsupported(t framework.TestContext) { if !t.Clusters().Default().MinKubeVersion(16) { t.Skipf("k8s version not supported for %s (<%s)", t.Name(), "1.16") } // Kubernetes 1.22 drops support for a number of legacy resources, so we cannot install the old versions if !t.Clusters().Default().MaxKubeVersion(21) { t.Skipf("k8s version not supported for %s (>%s)", t.Name(), "1.21") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/iprawsock_test.go
network := "ip:tcp" if !testableNetwork(network) { t.Skipf("skipping %s test", network) } raddr := &IPAddr{IP: IPv4(127, 0, 0, 1).To4()} c, err := DialIP(network, &IPAddr{IP: IPv4(127, 0, 0, 1)}, raddr) if testenv.SyscallIsNotSupported(err) { // May be inside a container that disallows creating a socket. t.Skipf("skipping %s test: %v", network, err) } else if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6K bytes - Viewed (0)