tests: fix logic bug in init.sh
authorEric Blake <eblake@redhat.com>
Tue, 24 May 2011 16:04:46 +0000 (10:04 -0600)
committerIan Beckwith <ianb@erislabs.net>
Thu, 9 Jun 2011 18:50:51 +0000 (19:50 +0100)
commitb9bb8b95df6833738f8e5b22cc57246f71fe4b2e
tree026fbfad947abdb9de5527a9e8bba791c744e4d2
parent53956ac877b37bd139593aa1ff3e5315f5b5df11
tests: fix logic bug in init.sh

If the shell test loop first finds a marginal then a good shell, the
variable $gl_set_x_corrupts_stderr is still set to true and needlessly
drops $VERBOSE logging.

* tests/init.sh: (gl_set_x_corrupts_stderr_): Clear for successful
shell.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 866bbaee7bf64b5f54b2b3d566552782dfb514dd)
ChangeLog
tests/init.sh