|
@@ -316,7 +316,7 @@ class TC_30_Syscall(RegressionTestCase):
|
|
self.assertIn('mmap test 5 passed', stdout)
|
|
self.assertIn('mmap test 5 passed', stdout)
|
|
self.assertIn('mmap test 8 passed', stdout)
|
|
self.assertIn('mmap test 8 passed', stdout)
|
|
|
|
|
|
- def test_52_large_mmap(self):
|
|
|
|
|
|
+ def test_052_large_mmap(self):
|
|
stdout, stderr = self.run_binary(['large-mmap'], timeout=480)
|
|
stdout, stderr = self.run_binary(['large-mmap'], timeout=480)
|
|
|
|
|
|
# Ftruncate
|
|
# Ftruncate
|
|
@@ -326,6 +326,11 @@ class TC_30_Syscall(RegressionTestCase):
|
|
self.assertIn('large-mmap: mmap 1 completed OK', stdout)
|
|
self.assertIn('large-mmap: mmap 1 completed OK', stdout)
|
|
self.assertIn('large-mmap: mmap 2 completed OK', stdout)
|
|
self.assertIn('large-mmap: mmap 2 completed OK', stdout)
|
|
|
|
|
|
|
|
+ def test_053_mprotect_file_fork(self):
|
|
|
|
+ stdout, _ = self.run_binary(['mprotect_file_fork'])
|
|
|
|
+
|
|
|
|
+ self.assertIn('Test successful!', stdout)
|
|
|
|
+
|
|
@unittest.skip('sigaltstack isn\'t correctly implemented')
|
|
@unittest.skip('sigaltstack isn\'t correctly implemented')
|
|
def test_060_sigaltstack(self):
|
|
def test_060_sigaltstack(self):
|
|
stdout, stderr = self.run_binary(['sigaltstack'])
|
|
stdout, stderr = self.run_binary(['sigaltstack'])
|