self tests: avoid spurious output on console, and related fixlets
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Aug 2011 12:02:10 +0000 (14:02 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Aug 2011 12:02:10 +0000 (14:02 +0200)
commitb615fcd597e99a8a16cfa873c6848d3c6204f777
tree8b09419ef43e67861d3ddca546a81b1b80c83b57
parent376293a9ecaf9cc15041260d11e595af867608c8
self tests: avoid spurious output on console, and related fixlets

* tests/self-check-cleanup.test: Set `$stderr_fileno_' to `2'
in the self tests, to avoid spurious diagnostic on console.
* tests/self-check-exit.tap: Only unset `am_explicit_skips' and
`$stderr_fileno_' in the self tests, not at the global level, it
is more correct.
($init): New variable, to reduce code duplication.
Some refactoring and adjustments to the name of the tests.
ChangeLog
tests/self-check-cleanup.test
tests/self-check-exit.tap