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

[Libguestfs] Debian libguestfs packages updated



Hi,
I finally updated the Debian libguestfs packages:

http://honk.sigxcpu.org/con/Libguestfs__Virtual_Machine_Image_Swiss_Army_Knife.html

Sine we can't run the fuse tests easily in a chroot (since we might be
unable to load the module) I'm using the attached patch to skip the
tests if /dev/fuse doesn't exist. This probably isn't clean enough to go
upstream though.

The other patch adjusts the test output of rhbz557655. xstrtol seems to
be behaving differently here. I didn't investigate why yet.

As a last point: is there a simple way to disable the appliance build
altogether? I'd like to ship the Debian package without it so we stay
out of the security update trouble and provide them via http.

Cheers and thanks for that great tool,
 -- Guido

From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx sigxcpu org>
Date: Sun, 21 Feb 2010 11:52:44 +0100
Subject: [PATCH] Adjust error output for regressions/rhbz557655

to make the testsuite pass.
---
 regressions/rhbz557655-expected.stderr |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/regressions/rhbz557655-expected.stderr b/regressions/rhbz557655-expected.stderr
index ea560e8..bc62baa 100644
--- a/regressions/rhbz557655-expected.stderr
+++ b/regressions/rhbz557655-expected.stderr
@@ -1,7 +1,7 @@
-set-memsize: memsize: integer out of range
-set-memsize: memsize: integer out of range
-set-memsize: memsize: integer out of range
-set-memsize: memsize: integer out of range
+set-memsize: memsize: invalid integer parameter (xstrtol returned 1)
+set-memsize: memsize: invalid integer parameter (xstrtol returned 1)
+set-memsize: memsize: invalid integer parameter (xstrtol returned 1)
+set-memsize: memsize: invalid integer parameter (xstrtol returned 1)
 set-memsize: memsize: invalid integer parameter (xstrtol returned 4)
 set-memsize: memsize: invalid integer parameter (xstrtol returned 2)
 set-memsize: memsize: invalid integer parameter (xstrtol returned 2)
-- 
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx sigxcpu org>
Date: Sun, 21 Feb 2010 19:29:30 +0100
Subject: [PATCH] Disable fuser tests if /dev/fuse doesn't exist

e.g. when running in a chroot.
---
 fuse/test-fuse.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh
index 2b4d0d7..b0b4a1e 100755
--- a/fuse/test-fuse.sh
+++ b/fuse/test-fuse.sh
@@ -45,6 +45,11 @@ if [ ! -x "$guestfish" -o ! -x "$guestmount" ]; then
     exit 1
 fi
 
+if [ ! -c /dev/fuser ]; then
+    echo "/dev/fuse does not exist skipping tests."
+    exit 0
+fi
+
 # Ensure everything is cleaned up on exit.
 rm -f "$image"
 mkdir -p "$mp"
-- 

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