Hilko Bengen
2012-Sep-20 17:36 UTC
[Libguestfs] [PATCH 1/2] ./run: Make sure that the temporary directory exists so test scripts can produce output files
--- run.in | 1 + 1 file changed, 1 insertion(+) diff --git a/run.in b/run.in index ed4971b..548ac20 100644 --- a/run.in +++ b/run.in @@ -51,6 +51,7 @@ b=@abs_builddir@ # # chcon --reference=/tmp tmp export TMPDIR="$b/tmp" +mkdir -p "$b/tmp" # Set local environment relative to this script. export LIBGUESTFS_PATH="$b/appliance" -- 1.7.10.4
Hilko Bengen
2012-Sep-20 17:36 UTC
[Libguestfs] [PATCH 2/2] ./run: Keep gnome-keyring from disturbing test script output
---
run.in | 4 ++++
1 file changed, 4 insertions(+)
mode change 100644 => 100755 run.in
diff --git a/run.in b/run.in
old mode 100644
new mode 100755
index 548ac20..cdcfa29
--- a/run.in
+++ b/run.in
@@ -115,6 +115,10 @@ if libtool --help >/dev/null 2>&1; then
libtool="libtool --mode=execute"
fi
+# Avoid GNOME keyring stupidity
+export GNOME_KEYRING_CONTROL+export GNOME_KEYRING_PID+
# Run the program.
if [ -z "$test_mode" ]; then
exec $libtool "$@"
--
1.7.10.4