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

Re: [Libguestfs] [PATCH] test-events.sh: ignore "trace get_path" line



On Sun, May 19, 2013 at 06:56:55PM +0200, Hilko Bengen wrote:
> The test would fail when LIBGUESTFS_PATH was not set.
> ---
>  fish/test-events.sh |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/fish/test-events.sh b/fish/test-events.sh
> index 79957ed..d838b98 100755
> --- a/fish/test-events.sh
> +++ b/fish/test-events.sh
> @@ -22,7 +22,7 @@ set -e
>  
>  rm -f test.out
>  
> -./guestfish -a /dev/null <<'EOF' | grep -v get_verbose | grep -v get_trace | grep -v 'library .*0x' | grep -v 'library command' > test.out
> +./guestfish -a /dev/null <<'EOF' | grep -v get_verbose | grep -v get_trace | grep -v 'library .*0x' | grep -v 'library command' | grep -v 'get_path' > test.out
>  trace true
>  
>  event ev1 * "echo $EVENT $@"
> @@ -61,7 +61,6 @@ trace get_autosync
>  trace get_autosync = 1
>  enter get_path
>  trace get_path
> -trace get_path = "'$LIBGUESTFS_PATH'"

I think all 3 lines would no longer appear in the output.

make -C fish check TESTS=test-events.sh

should confirm either way.

ACK with that change.

Rich.

>  enter get_pgroup
>  trace get_pgroup
>  trace get_pgroup = 0
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs redhat com
> https://www.redhat.com/mailman/listinfo/libguestfs

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)


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