Revert "Merging in 1.0.2."

This reverts commit 50cf3276e7.
This commit is contained in:
Geoffrey Challen
2017-01-09 22:52:13 -05:00
parent 50cf3276e7
commit e318e3171e
118 changed files with 3158 additions and 1350 deletions

View File

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