tests: namemax on ISO devices is 255 1.0.68
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 19 Aug 2009 16:51:40 +0000 (17:51 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 19 Aug 2009 16:51:40 +0000 (17:51 +0100)
Was 256 for the old squashfs device.

src/generator.ml

index de7a75f..a371ffd 100755 (executable)
@@ -1669,7 +1669,7 @@ This is the same as the C<lstat(2)> system call.");
 
   ("statvfs", (RStruct ("statbuf", "statvfs"), [Pathname "path"]), 54, [],
    [InitISOFS, Always, TestOutputStruct (
-      [["statvfs"; "/"]], [CompareWithInt ("namemax", 256)])],
+      [["statvfs"; "/"]], [CompareWithInt ("namemax", 255)])],
    "get file system statistics",
    "\
 Returns file system statistics for any mounted file system.