Updated forkbomb to better detect success
Previously, we were relying on subpage allocator failing to signal that forkbomb was succeeding. However, there are cases where the subpage allocator never fails but the test is still progressing fine. This commit moves the secure print into forkbomb itself and changes the test constraints to ensure that forkbomb runs for a certain amount of time without crashing
This commit is contained in:
@@ -22,9 +22,12 @@ templates:
|
||||
timesout: yes
|
||||
timeout: 15.0
|
||||
output:
|
||||
- text: "kmalloc"
|
||||
external: true
|
||||
trusted: true
|
||||
- text: "/testbin/forkbomb: SUCCESS"
|
||||
- text: "/testbin/forkbomb: SUCCESS"
|
||||
- text: "/testbin/forkbomb: SUCCESS"
|
||||
- text: "/testbin/forkbomb: SUCCESS"
|
||||
- text: "/testbin/forkbomb: SUCCESS"
|
||||
|
||||
- name: kmalloc
|
||||
output:
|
||||
- text: "kmalloc: out of memory"
|
||||
|
Reference in New Issue
Block a user