summaryrefslogtreecommitdiff
path: root/userfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'userfs.c')
-rw-r--r--userfs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/userfs.c b/userfs.c
index 0b2e9c3..b11f3eb 100644
--- a/userfs.c
+++ b/userfs.c
@@ -5,7 +5,8 @@
// file system tests
char buf[1024];
-char *args[] = { "echo", "hello", "goodbye", 0 };
+char *echo_args[] = { "echo", "hello", "goodbye", 0 };
+char *cat_args[] = { "cat", "README", 0 };
int
main(void)
@@ -34,6 +35,7 @@ main(void)
} else {
puts("open doesnotexist failed\n");
}
- exec("echo", args);
+ //exec("echo", echo_args);
+ exec("cat", cat_args);
return 0;
}