Lines Matching refs:setrlimit
14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
24 # we need to test that the get/setrlimit functions properly convert
28 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
44 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
68 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
73 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
77 # Be sure that setrlimit is checking for really large values
84 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
88 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big))
117 resource.setrlimit(resource.RLIMIT_CPU, BadSequence())