projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d095b1
)
Remove file that was not used.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 8 Jan 2006 01:07:21 +0000
(
01:07
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 8 Jan 2006 01:07:21 +0000
(
01:07
+0000)
src/tests/userprog/multi-parent-fd.c
[deleted file]
patch
|
blob
|
history
diff --git
a/src/tests/userprog/multi-parent-fd.c
b/src/tests/userprog/multi-parent-fd.c
deleted file mode 100644
(file)
index
7058a0a
..0000000
--- a/
src/tests/userprog/multi-parent-fd.c
+++ /dev/null
@@
-1,19
+0,0 @@
-#include <string.h>
-#include <syscall.h>
-#include "sample.inc"
-#include "tests/lib.h"
-#include "tests/main.h"
-
-void
-test_main (void)
-{
- char child_cmd[128];
- int handle;
-
- CHECK ((handle = open ("sample.txt")) > 1, "open \"sample.txt\"");
-
- snprintf (child_cmd, sizeof child_cmd, "child-close %d", handle);
- msg ("wait(exec()) = %d", wait (exec (child_cmd)));
-
- check_file_handle (handle, "sample.txt", sample, sizeof sample - 1);
-}