diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-03-17 23:12:09 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-03-17 23:12:09 +0000 |
commit | 852e6ace175697215aa2948cad38a2b23eec3181 (patch) | |
tree | 9ed7e8d057824ad2dfb3314e4d668aeab2bf8fce /fstests | |
parent | 0a31f652a2042d0cc0b64e0dc73c8f5570e08c94 (diff) |
Formerly fstests.c.~17~
Diffstat (limited to 'fstests')
-rw-r--r-- | fstests/fstests.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c index 46aaed25..9f9f9083 100644 --- a/fstests/fstests.c +++ b/fstests/fstests.c @@ -61,15 +61,13 @@ main () #else unlink ("/newdir"); - dir_unlink (root, "newdir"); /* unlink ("/newdir") */ - dir_rmdir (root, "newdir"); /* rmdir */ - dir_mkdir (root, "newdir", 0777); - dir_rename (root, "newdir", root, "newdir2"); - dir_rmdir (root, "foo"); - dir_mkdir (root, "foo", 0777); - dir_rename (root, "newdir2", root, "foo"); - file_syncfs (root, 1, 0); - + rmdir ("/newdir"); + mkdir ("/newdir", 0777); + rename ("/newdir", "/newdir2"); + rmdir ("/foo"); + mkdir ("/foo", 0777); + rename ("/newdir2", "/foo"); + sync (); #endif printf ("All done.\n"); |