Merging in 2.0.2.

This commit is contained in:
Geoffrey Challen
2017-01-09 22:37:50 -05:00
parent a0406ec181
commit 50cf3276e7
118 changed files with 1350 additions and 3158 deletions

View File

@@ -116,13 +116,13 @@ static
void
test1(void)
{
tprintf("Making %s\n", testdir);
printf("Making %s\n", testdir);
startup();
tprintf("Removing %s while in it\n", testdir);
printf("Removing %s while in it\n", testdir);
killdir();
tprintf("Leaving the test directory\n");
printf("Leaving the test directory\n");
finish();
}
@@ -136,7 +136,7 @@ test2(void)
{
int fd;
tprintf("Now trying with the directory open...\n");
printf("Now trying with the directory open...\n");
startup();
fd = open(".", O_RDONLY);
if (fd<0) {
@@ -162,7 +162,7 @@ test3(void)
char buf[PATH_MAX];
int fd;
tprintf("Checking if . exists after rmdir\n");
printf("Checking if . exists after rmdir\n");
startup();
killdir();
@@ -230,7 +230,7 @@ test4(void)
char buf[4096];
int fd;
tprintf("Checking if creating files works after rmdir...\n");
printf("Checking if creating files works after rmdir...\n");
startup();
killdir();
@@ -272,7 +272,7 @@ static
void
test5(void)
{
tprintf("Checking if creating subdirs works after rmdir...\n");
printf("Checking if creating subdirs works after rmdir...\n");
startup();
killdir();
@@ -315,7 +315,7 @@ test6(void)
char buf[PATH_MAX];
int fd, len;
tprintf("Now trying to list the directory...\n");
printf("Now trying to list the directory...\n");
startup();
fd = open(".", O_RDONLY);
if (fd<0) {
@@ -399,6 +399,6 @@ main(void)
test6();
test7();
tprintf("Whew... survived.\n");
printf("Whew... survived.\n");
return 0;
}