Two errors in the tests have been detected. The following patch fixes
them. (The patch will be posted on the web site, etc., etc.)
Index: src/testbin/badcall/badcall.c
===================================================================
RCS file: /disk/disk0/cs161/CVSREPO/os161/src/testbin/badcall/badcall.c,v
retrieving revision 1.9
diff -u -r1.9 badcall.c
--- badcall.c 2002/02/16 01:36:28 1.9
+++ badcall.c 2002/04/14 18:39:19
@@ -1554,7 +1554,7 @@
}
switch (errno) {
- case EFAULT:
+ case EBADF:
warnx("passed: getdirentry on %s fd", desc);
break;
default:
Index: src/testbin/f_test/f_test.c
===================================================================
RCS file: /disk/disk0/cs161/CVSREPO/os161/src/testbin/f_test/f_test.c,v
retrieving revision 1.3
diff -u -r1.3 f_test.c
--- f_test.c 2001/08/02 19:37:32 1.3
+++ f_test.c 2002/04/14 18:42:32
@@ -62,7 +62,7 @@
return -1;
default: break;
}
- return 0;
+ return pid;
}
--
- David A. Holland / dholland(a)eecs.harvard.edu
Show replies by date