[Libguestfs] [PATCH 2/2] ./run: Keep gnome-keyring from disturbing test script output

Richard W.M. Jones rjones at redhat.com
Thu Sep 20 20:22:29 UTC 2012


On Thu, Sep 20, 2012 at 07:36:21PM +0200, Hilko Bengen wrote:
> ---
>  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 "$@"
> -- 

Thanks - I pushed all three patches.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list