23 Commits

Author SHA1 Message Date
Scott Haseley
922370ebd4 Changed forkbomb to only print one success message 2016-03-11 14:56:01 -05:00
Guru Prasad Srinivasa
bfa901ed0b Updated forkbomb so only the parent prints success messages 2016-03-10 19:00:31 -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
a9c196a1cc Fixed initialization error in bad_lseek 2016-03-01 17:24: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
d466eb7102 Added userland/testbin 2016-02-29 20:10:59 -05:00
Scott Haseley
a5963a0e31 Removed secret printing in the shell 2016-02-26 11:46:35 -05:00
Scott Haseley
0ab862abfa 1) Moved tprintf and related functions to their own file in common/libc/printf/tprintf.c.
This file is included by both libc and hostcompat.

2) Changed printf -> tprintf in all testbin programs
2016-01-15 13:33:11 -05:00
Geoffrey Challen
98ff530afb Add shll testing tool. 2016-01-12 14:38:22 -05:00
Geoffrey Challen
002459aa19 Adding fileonlytest. 2016-01-11 21:09:40 -05:00
Geoffrey Challen
ac37b61ba1 Adding fileonlytest. 2016-01-11 21:09:22 -05:00
Geoffrey Challen
b66416e24f Automation testing tools. 2016-01-11 16:08:40 -05:00
Geoffrey Challen
036cae3982 Secret printing in libraries and shell and silencing randcall. 2016-01-01 11:47:43 -05:00
Geoffrey Challen
cafa9f5690 Initial Spring 2016 commit. 2015-12-23 00:50:04 +00:00