projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make tests public. Rewrite most tests. Add tests.
[pintos-anon]
/
src
/
tests
/
userprog
/
exec-missing.c
diff --git a/src/tests/userprog/exec-missing.c
b/src/tests/userprog/exec-missing.c
new file mode 100644
(file)
index 0000000..
53617e0
--- /dev/null
+++ b/
src/tests/userprog/exec-missing.c
@@ -0,0
+1,9
@@
+#include <syscall.h>
+#include "tests/lib.h"
+#include "tests/main.h"
+
+void
+test_main (void)
+{
+ msg ("exec(\"no-such-file\"): %d", exec ("no-such-file"));
+}