init.sh: work around trap limitation of some shells
commitdb48b362417e3f86671c040610ddfa27596bd258
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2010 20:01:16 +0000 (3 13:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2010 20:01:42 +0000 (3 13:01 -0700)
treeee780d2369c216975d5bbbda950010bc8d4f8d3c
parenta2cebacf9748d60d6763f8ada68a10958a9cbda2
init.sh: work around trap limitation of some shells

* tests/init.sh (setup_): Move exit trap outside of shell function.
This patch is imported from gnulib.
tests/init.sh