Eric Blake 70ea7decbe tests: avoid crash when run under gcov
Running ./autobuild.sh failed when gcov is installed, because
commandtest ended up crashing during gcov's getenv() call after
exit() had already started.  I traced this nasty bug back to
a scoping issue present since the test introduction.

* tests/commandtest.c (mymain): Move newenv...
(newenv): ...to a scope that is still useful during exit().
2011-05-11 09:58:35 -06:00
..
2011-04-29 10:21:20 -06:00
2011-04-29 14:26:40 -06:00
2011-03-28 09:55:46 -06:00
2011-04-29 10:21:20 -06:00
2011-04-29 10:21:20 -06:00
2011-04-29 10:21:20 -06:00