diff options
Diffstat (limited to 'libgo/go/syscall/syscall_unix_test.go')
-rw-r--r-- | libgo/go/syscall/syscall_unix_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgo/go/syscall/syscall_unix_test.go b/libgo/go/syscall/syscall_unix_test.go index da259b997f9..b99e07dd38b 100644 --- a/libgo/go/syscall/syscall_unix_test.go +++ b/libgo/go/syscall/syscall_unix_test.go @@ -386,3 +386,9 @@ func TestSetsockoptString(t *testing.T) { t.Fatalf("SetsockoptString: did not fail") } } + +func TestENFILETemporary(t *testing.T) { + if !syscall.ENFILE.Temporary() { + t.Error("ENFILE is not treated as a temporary error") + } +} |