From ff8effb2f514ca54a594074e1cc33b22a1978050 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 8 Jan 2006 01:07:21 +0000 Subject: [PATCH] Remove file that was not used. --- src/tests/userprog/multi-parent-fd.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/tests/userprog/multi-parent-fd.c diff --git a/src/tests/userprog/multi-parent-fd.c b/src/tests/userprog/multi-parent-fd.c deleted file mode 100644 index 7058a0a..0000000 --- a/src/tests/userprog/multi-parent-fd.c +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#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); -} -- 2.30.2