]> git.ipfire.org Git - thirdparty/libtool.git/commit
tests: make sure file restore traps are called correctly on AIX.
authorGary V. Vaughan <gary@gnu.org>
Thu, 8 Dec 2011 10:33:28 +0000 (17:33 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:02:56 +0000 (21:02 +0700)
commit0c953ba5cc71bd1de615df28fbf16e27be62244e
tree8a72ad0b77862a11ea7b9bbb57dbd9685b4e80ad
parentf32a760fbd40796be0b7e3be41226a82db1748d4
tests: make sure file restore traps are called correctly on AIX.

* tests/demo-noinst-link.test (func_save_files): set the restore
trap outside a function, otherwise AIX 5.3 /bin/sh will run the
trap at the end of the function, instead of when the script
exits.
* tests/demo-relink.test (func_save_files): Ditto.
* tests/depdemo-relink.test (func_save_files): Ditto.
Reported by Stefano Lattarini.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
tests/demo-noinst-link.test
tests/demo-relink.test
tests/depdemo-relink.test