Skip to contentSkip to conversation

Changes in quota tools cause xfstests #219 to fail

PATCH Theodore Ts'o 2 participants 2 messages Apr 3, 2010

lore
Share & tools
lore
#0 lore raw

It looks like the output of quota has changed, which is causing xfstests #219 to fail. This was run on Debian unstable, using quota version 4.00-pre1:

000 - unknown test, ignored

FSTYP         -- ext4
PLATFORM      -- Linux/i686 candygram 2.6.34-rc3-00007-g778c832
MKFS_OPTIONS  -- /dev/sdc1

MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity /dev/sdc1 /scratch

219 - output mismatch (see 219.out.bad)

219.out.bad renamed from 219.out +4 -4
@@ -24,10 +24,10 @@
   Mode: (0644/-rw-r--r--)         Uid: (1)  Gid: (2)
 *** Report for user quotas on device [SCR_DEV]
 Block grace time: 7days; Inode grace time: 7days
-                        Block limits                File limits
+                        Space limits                File limits
 User            used    soft    hard  grace    used  soft  hard  grace
 ----------------------------------------------------------------------
-#1        --     144       0       0              3     0     0       
+#1        --    144K      0K      0K              3     0     0       
 
 
 
@@ -55,9 +55,9 @@
   Mode: (0644/-rw-r--r--)         Uid: (1)  Gid: (2)
 *** Report for group quotas on device [SCR_DEV]
 Block grace time: 7days; Inode grace time: 7days
-                        Block limits                File limits
+                        Space limits                File limits
 Group           used    soft    hard  grace    used  soft  hard  grace
 ----------------------------------------------------------------------
-#2        --     144       0       0              3     0     0       
+#2        --    144K      0K      0K              3     0     0       
 
 

Ran: 219
Failures: 219
Failed 1 of 1 tests

#1 lore raw
Quoted 3 lines · Theodore Ts'o

It looks like the output of quota has changed, which is causing xfstests #219 to fail. This was run on Debian unstable, using quota version 4.00-pre1:

Dave ran into this too, and I think his solution was to just drop the "-s" from repquota, and the behavior is then unchanged regardless of quota version.

-Eric

Quoted 41 lines

000 - unknown test, ignored

FSTYP         -- ext4
PLATFORM      -- Linux/i686 candygram 2.6.34-rc3-00007-g778c832
MKFS_OPTIONS  -- /dev/sdc1

MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity /dev/sdc1 /scratch

219 - output mismatch (see 219.out.bad)

219.out.bad renamed from 219.out +4 -4
@@ -24,10 +24,10 @@
   Mode: (0644/-rw-r--r--)         Uid: (1)  Gid: (2)
 *** Report for user quotas on device [SCR_DEV]
 Block grace time: 7days; Inode grace time: 7days
-                        Block limits                File limits
+                        Space limits                File limits
 User            used    soft    hard  grace    used  soft  hard  grace
 ----------------------------------------------------------------------
-#1        --     144       0       0              3     0     0       
+#1        --    144K      0K      0K              3     0     0       
 
 
 
@@ -55,9 +55,9 @@
   Mode: (0644/-rw-r--r--)         Uid: (1)  Gid: (2)
 *** Report for group quotas on device [SCR_DEV]
 Block grace time: 7days; Inode grace time: 7days
-                        Block limits                File limits
+                        Space limits                File limits
 Group           used    soft    hard  grace    used  soft  hard  grace
 ----------------------------------------------------------------------
-#2        --     144       0       0              3     0     0       
+#2        --    144K      0K      0K              3     0     0       
 
 

Ran: 219
Failures: 219
Failed 1 of 1 tests
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html