Commit Graph
25 Commits
Author SHA1 Message Date
Guru Prasad Srinivasa bfa901ed0b Updated forkbomb so only the parent prints success messages 2016-03-10 19:00:31 -05:00
Guru Prasad Srinivasa 7a63861e81 Updated forkbomb monitor kernel cycles min value 2016-03-10 18:45:35 -05:00
Guru Prasad Srinivasa 03f484ff21 Merge branch 'master' of gitlab.ops-class.org:staff/os161 2016-03-10 17:30:37 -05:00
Guru Prasad Srinivasa c9c9e50155 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
2016-03-10 17:28:47 -05:00
Guru Prasad Srinivasa 071595b8fb Fixed badcall execv testing logic 2016-03-09 17:46:49 -05:00
Guru Prasad Srinivasa 44d53d9306 Fixed a bug in bad_waitpid.c
The comments for this particular test suggest that the parent should
attempt waiting on itself. However, the code makes the parent wait
on its child. Fixed.
2016-03-09 12:45:04 -05:00
Guru Prasad Srinivasa eb7ad5609d Make forktest fail if waitpid() fails
Previously, forktest would only warn if the calls to waitpid()
returned errors. Now, forktest terminates on the first error.
2016-03-08 18:53:33 -05:00
Guru Prasad Srinivasa 2cb47cb4c8 Removed all instances of crash_prog()
crash_prog was introduced to force-crash a userspace program
since _exit may not yet be implemented. However, the new versions
of OS161 already have the exact same logic as crash_prog in stdlib/exit.
2016-03-07 10:55:20 -05:00
Guru Prasad Srinivasa 0cd341c248 Updated badcall tests to just print success 2016-03-01 17:47:52 -05:00
Guru Prasad Srinivasa e29fa85a7d Updated forktest to use 4M ram 2016-03-01 17:32:29 -05:00
Guru Prasad Srinivasa 9bdb31021b Updated ram sizes for badcall tests and forktest 2016-03-01 17:26:02 -05:00
Guru Prasad Srinivasa a9c196a1cc Fixed initialization error in bad_lseek 2016-03-01 17:24:47 -05:00
Guru Prasad Srinivasa fd45f9b722 Fixed badcall in commands file 2016-03-01 16:54:26 -05:00
Guru Prasad Srinivasa 5a48788226 Merge branch 'master' of gitlab.ops-class.org:staff/os161 2016-03-01 15:31:47 -05:00
Guru Prasad Srinivasa 352e6b5b96 Progress indicators bug-fixes 2016-03-01 15:31:43 -05:00
Guru Prasad Srinivasa b5858e4360 Added progress indicators for all tests 2016-03-01 15:19:37 -05:00
Guru Prasad Srinivasa f6c107f839 Removed newline in consoletest secprintf 2016-03-01 14:51:41 -05:00
Guru Prasad Srinivasa 833d2b6ef7 Added progress print for randcall 2016-03-01 14:46:58 -05:00
Guru Prasad Srinivasa eff0f9152c Updated closetest to open /bin/true instead of sys161.conf 2016-03-01 14:37:01 -05:00
Guru Prasad Srinivasa b65a333d34 Merge branch 'master' of gitlab.ops-class.org:staff/os161 2016-03-01 02:50:11 -05:00
Guru Prasad Srinivasa 21169ed500 Added test161 files for ASST2 2016-02-29 20:12:09 -05:00
Guru Prasad Srinivasa f141875f20 Updated kmalloc secprintf to satisfy forkbomb 2016-02-29 20:12:01 -05:00
Guru Prasad Srinivasa f0e1d8722c Updated libtest161 2016-02-29 20:11:50 -05:00
Guru Prasad Srinivasa e51ebc0b1a Added function crash_prog() to userland/libc 2016-02-29 20:11:28 -05:00
Guru Prasad Srinivasa d466eb7102 Added userland/testbin 2016-02-29 20:10:59 -05:00