summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-08-19 14:02:08 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-08-19 15:13:37 +0100
commit5da810b96072c0fd71d78713025a2e104295d0ff (patch)
treec1336a99a9aa9be94c016f4668b69023bca18463 /src
parent9d04d360c6086e048982b107b2bd7be5df884a83 (diff)
downloadlibguestfs-5da810b96072c0fd71d78713025a2e104295d0ff.tar.gz
libguestfs-5da810b96072c0fd71d78713025a2e104295d0ff.tar.xz
libguestfs-5da810b96072c0fd71d78713025a2e104295d0ff.zip
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.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 7b5b9d08..69370214 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -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.