summaryrefslogtreecommitdiff
path: root/fstests
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-12-23 11:23:40 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-12-23 11:23:40 +0000
commita0126ce45cd221a0dc93de323bfe6c3d140bf989 (patch)
treeb1139811305dbe7bbbbe8c0535a1461acb419076 /fstests
parent97630e5f8fb3f3e0d7ab6c244e9d75156d64e1e1 (diff)
Formerly fstests.c.~10~
Diffstat (limited to 'fstests')
-rw-r--r--fstests/fstests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c
index 85d5db67..d4c79120 100644
--- a/fstests/fstests.c
+++ b/fstests/fstests.c
@@ -57,9 +57,9 @@ main ()
printf ("Error on sync: %d\n", err);
#endif
- if (err = dir_rename (root, "CREATED", root, "newname"))
- printf ("Error on rename %d\n", err);
-
+ dir_unlink (root, "newdir");
+ dir_rmdir (root, "newdir");
+ dir_mkdir (root, "newdir", 0666);
file_syncfs (root, 1, 0);
printf ("All done.\n");