From: Richard W.M. Jones Date: Wed, 19 Aug 2009 13:02:08 +0000 (+0100) Subject: tests: modprobe fat instead of ext2 module. X-Git-Tag: 1.0.68~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5da810b96072c0fd71d78713025a2e104295d0ff;p=libguestfs.git 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. --- diff --git a/src/generator.ml b/src/generator.ml index 7b5b9d0..6937021 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3561,7 +3561,7 @@ an external journal on the journal with UUID C. See also C."); ("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.