zero: Disable file test because of bug in file command.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 18 May 2011 09:04:05 +0000 (10:04 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 18 May 2011 09:04:05 +0000 (10:04 +0100)
See: https://bugzilla.redhat.com/show_bug.cgi?id=705499

generator/generator_actions.ml

index d0aac87..74b6515 100644 (file)
@@ -2967,10 +2967,9 @@ Checking or repairing NTFS volumes is not supported
 This command is entirely equivalent to running C<fsck -a -t fstype device>.");
 
   ("zero", (RErr, [Device "device"], []), 85, [Progress],
-   [InitBasicFS, Always, TestOutput (
+   [InitBasicFS, Always, TestRun (
       [["umount"; "/dev/sda1"];
-       ["zero"; "/dev/sda1"];
-       ["file"; "/dev/sda1"]], "data")],
+       ["zero"; "/dev/sda1"]])],
    "write zeroes to the device",
    "\
 This command writes zeroes over the first few blocks of C<device>.