- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBadOpen (0.08 sec)
-
src/runtime/crash_unix_test.go
// We can't use SIGQUIT to kill subprocesses because // it's blocked. Use SIGKILL instead. See issue // #19196 for an example of when this happens. testenv.Sigquit = syscall.SIGKILL } } func TestBadOpen(t *testing.T) { // make sure we get the correct error code if open fails. Same for // read/write/close on the resulting -1 fd. See issue 10052. nonfile := []byte("/notreallyafile") fd := runtime.Open(&nonfile[0], 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0)