bug-gnulib
[Top][All Lists]
Advanced

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

Re: Tests not being run for some shells


From: Eric Blake
Subject: Re: Tests not being run for some shells
Date: Thu, 29 Jul 2010 14:54:10 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

[adding bug-gnulib, since gzip borrows tests/init.sh from there]

> Index: tests/init.sh
> ===================================================================
> --- tests/init.sh.orig  2010-01-08 18:12:20.000000000 +0000
> @@ -253,3 +253,7 @@
>    && . "$srcdir/init.cfg"
>  
>  setup_ "$@"
> +# This trap is here, rather than in the setup_ function because some
> +# shells run the trap at shell function exit, rather than at script
> +# exit.
> +trap remove_tmp_ 0

Good catch.  I'll apply your patch upstream in gnulib soon.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]