summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-05-18 10:04:05 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-05-18 10:04:05 +0100
commitf55b32b2db83495fc0987f0fe0e979818704dff1 (patch)
tree0731865ae7c84dced7eb821a78b880e1f4ce5a92
parent94d1dfde2793dccdcaf105d77c6135cdae70fa5e (diff)
downloadlibguestfs-f55b32b2db83495fc0987f0fe0e979818704dff1.tar.gz
libguestfs-f55b32b2db83495fc0987f0fe0e979818704dff1.tar.xz
libguestfs-f55b32b2db83495fc0987f0fe0e979818704dff1.zip
zero: Disable file test because of bug in file command.
See: https://bugzilla.redhat.com/show_bug.cgi?id=705499
-rw-r--r--generator/generator_actions.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index d0aac875..74b65154 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -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>.