psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone

Blame 0002-Fix-regressions-rhbz557655.sh-when-debugging-is-enab.patch

5be62f0
From 3cd7ce75f1ce5048a4d9f6aeaf66aff3194e1096 Mon Sep 17 00:00:00 2001
5be62f0
From: Richard Jones <rjones@redhat.com>
5be62f0
Date: Thu, 28 Jan 2010 22:35:16 +0000
5be62f0
Subject: [PATCH 2/2] Fix regressions/rhbz557655.sh when debugging is enabled.
5be62f0
5be62f0
The regression test for RHBZ#557655 would fail if debugging was
5be62f0
enabled, because debug output would get mixed up with the test
5be62f0
output.
5be62f0
5be62f0
To reproduce the error do:
5be62f0
5be62f0
LIBGUESTFS_DEBUG=1 make -C regressions TESTS=rhbz557655.sh check
5be62f0
5be62f0
This commit disables debug for just this test.
5be62f0
---
5be62f0
 regressions/rhbz557655.sh |    1 +
5be62f0
 1 files changed, 1 insertions(+), 0 deletions(-)
5be62f0
5be62f0
diff --git a/regressions/rhbz557655.sh b/regressions/rhbz557655.sh
5be62f0
index 6ef0b70..aa74bc1 100755
5be62f0
--- a/regressions/rhbz557655.sh
5be62f0
+++ b/regressions/rhbz557655.sh
5be62f0
@@ -23,6 +23,7 @@
5be62f0
 set -e
5be62f0
 rm -f test.out
5be62f0
 export LANG=C
5be62f0
+unset LIBGUESTFS_DEBUG
5be62f0
 
5be62f0
 ../fish/guestfish >> test.out 2>&1 <
5be62f0
 # set-memsize is just a convenient non-daemon function that
5be62f0
-- 
5be62f0
1.6.5.2
5be62f0