#include #include #include "cedos.h" #include "tap.h" void main(char *args) { (void)args; plan("basic_test", 5); int pid = 0; int ret = 0; test_true(true, "sanity check"); test_zero(0, "sanity check"); test_nonzero(1, "sanity check"); pid = process_spawn("cat", "testfile.txt"); test_nonzero(pid, "successfully spawned process"); ret = process_wait(pid); test_zero(ret, "process successfully terminated"); hard_reset(); }