tests: modprobe fat instead of ext2 module.

On RHEL 5, ext2 is compiled into the kernel, so trying to modprobe
it will fail.  I've checked that fat.ko is always a module on the
platforms we care about (RHEL 5, Fedora 11, Debian), so use that
to test instead.
This commit is contained in:
Richard W.M. Jones
2009-08-19 14:02:08 +01:00
committed by Richard Jones
parent 9d04d360c6
commit 5da810b960

View File

@@ -3561,7 +3561,7 @@ an external journal on the journal with UUID C<uuid>.
See also C<guestfs_mke2journal_U>.");
("modprobe", (RErr, [String "modulename"]), 194, [],
[InitNone, Always, TestRun [["modprobe"; "ext2"]]],
[InitNone, Always, TestRun [["modprobe"; "fat"]]],
"load a kernel module",
"\
This loads a kernel module in the appliance.