projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ls, mkdir user test programs.
[pintos-anon]
/
src
/
tests
/
userprog
/
ls.c
diff --git a/src/tests/userprog/ls.c
b/src/tests/userprog/ls.c
new file mode 100644
(file)
index 0000000..
d64d01e
--- /dev/null
+++ b/
src/tests/userprog/ls.c
@@ -0,0
+1,12
@@
+/* ls.c
+
+ Lists the current directory. */
+
+#include <syscall.h>
+
+int
+main (void)
+{
+ lsdir ();
+ return 0;
+}