[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] tests: modprobe fat instead of ext2 module.



-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
>From f8b2b724792262a57782a1bcde51bb88ba844716 Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones redhat com>
Date: Wed, 19 Aug 2009 14:02:08 +0100
Subject: [PATCH] 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.
---
 src/generator.ml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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<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.
-- 
1.5.5.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]