Lines Matching refs:setrlimit
14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big))
121 resource.setrlimit(resource.RLIMIT_CPU, BadSequence())