diff --git a/userland/testbin/closetest/closetest.c b/userland/testbin/closetest/closetest.c index 5f23a71..2a217ca 100644 --- a/userland/testbin/closetest/closetest.c +++ b/userland/testbin/closetest/closetest.c @@ -54,7 +54,7 @@ main(int argc, char **argv) int ret, fd = -1; // Try to open a file and then close it - fd = open("sys161.conf", O_RDONLY); + fd = open("/bin/true", O_RDONLY); if(fd < 0) { err(-1, "Open syscall failed"); } diff --git a/userland/testbin/consoletest/consoletest.c b/userland/testbin/consoletest/consoletest.c index 650c2d4..d7093ce 100644 --- a/userland/testbin/consoletest/consoletest.c +++ b/userland/testbin/consoletest/consoletest.c @@ -53,7 +53,7 @@ main(int argc, char **argv) (void) argc; (void) argv; - secprintf(SECRET, "Able was i ere i saw elbA\n", "/testbin/consoletest"); + secprintf(SECRET, "Able was i ere i saw elbA", "/testbin/consoletest"); // Guru: Since exit() may not yet be implemented, just trigger a // failure that the grading scripts expect to see. diff --git a/userland/testbin/randcall/gencalls.sh b/userland/testbin/randcall/gencalls.sh index f708da1..2e0c98e 100755 --- a/userland/testbin/randcall/gencalls.sh +++ b/userland/testbin/randcall/gencalls.sh @@ -34,6 +34,7 @@ awk < $1 ' printf "#include \n"; printf "#include \n"; printf "#include \n"; + printf "#include \n"; printf "\n"; printf "#include \"extern.h\"\n"; printf "\n"; @@ -134,9 +135,11 @@ awk < $1 ' printf "\tfor (i=0; i