[Libguestfs] [PATCH] Make test-execstack recognize SKIP_ variable

Richard W.M. Jones rjones at redhat.com
Sat May 10 17:25:51 UTC 2014


On Sat, May 10, 2014 at 01:41:48PM +0200, Hilko Bengen wrote:
> ---
>  tests/test-execstack.sh | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/test-execstack.sh b/tests/test-execstack.sh
> index a9cb5e0..a02803b 100755
> --- a/tests/test-execstack.sh
> +++ b/tests/test-execstack.sh
> @@ -18,6 +18,11 @@
>  
>  set -e
>  
> +if [ -n "$SKIP_TEST_EXECSTACK" ]; then
> +    echo "$0: test skipped because SKIP_TEST_EXECSTACK is set."
> +    exit 77
> +fi
> +

ACK.

This test is indeed troublesome because it tests something which is
(to some extent) outside our control.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list