Consistently spell "file name" and "file system" as two words.
[pintos-anon] / src / tests / filesys / extended / dir-rm-vine.c
index c424c049b14bd2141cadd39e79b37abef26d159a..e01ff49c1235b02914f2921f3c5f96976efd1545 100644 (file)
@@ -10,7 +10,7 @@
 void
 test_main (void) 
 {
-  const char *filename = "/0/1/2/3/4/5/6/7/8/9/test";
+  const char *file_name = "/0/1/2/3/4/5/6/7/8/9/test";
   int fd;
   char tmp[128];
   
@@ -23,16 +23,16 @@ test_main (void)
   CHECK (create ("test", 512), "create \"test\"");
 
   CHECK (chdir ("/"), "chdir \"/\"");
-  CHECK ((fd = open (filename)) > 1, "open \"%s\"", filename);
-  msg ("close \"%s\"", filename);
+  CHECK ((fd = open (file_name)) > 1, "open \"%s\"", file_name);
+  msg ("close \"%s\"", file_name);
   close (fd);
 
-  strlcpy (tmp, filename, sizeof tmp);
+  strlcpy (tmp, file_name, sizeof tmp);
   while (strlen (tmp) > 0)
     {
       CHECK (remove (tmp), "remove \"%s\"", tmp);
       *strrchr (tmp, '/') = 0;
     }
 
-  CHECK (open (filename) == -1, "open \"%s\" (must return -1)", filename);
+  CHECK (open (file_name) == -1, "open \"%s\" (must return -1)", file_name);
 }