]> 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>
Thu, 8 Dec 2011 10:39:40 +0000 (17:39 +0700)
commitccd0cea1a598f59287e97f2dbc0204f04965d004
treef05bf9b3df72fac1203363487cc099ac877e4296
parent28471749102ee5c566557525f358c8ca50aa5023
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