summaryrefslogtreecommitdiff
path: root/user/usertests.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/usertests.c')
-rw-r--r--user/usertests.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/usertests.c b/user/usertests.c
index 968034a..60d1762 100644
--- a/user/usertests.c
+++ b/user/usertests.c
@@ -2712,6 +2712,8 @@ diskfull(char *s)
{
int fi;
int done = 0;
+
+ unlink("diskfulldir");
for(fi = 0; done == 0; fi++){
char name[32];
@@ -2758,6 +2760,9 @@ diskfull(char *s)
close(fd);
}
+ mkdir("diskfulldir");
+ unlink("diskfulldir");
+
for(int i = 0; i < nzz; i++){
char name[32];
name[0] = 'z';