Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / examples / echo.c
diff --git a/src/examples/echo.c b/src/examples/echo.c
new file mode 100644 (file)
index 0000000..c0ecd00
--- /dev/null
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+int
+main (int argc, char **argv)
+{
+  int i;
+
+  for (i = 0; i < argc; i++)
+    printf ("%s ", argv[i]);
+  printf ("\n");
+
+  return 0;
+}