tests: avoid failing command substitution in errexit mode.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 16 Jan 2011 13:17:38 +0000 (14:17 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 16 Jan 2011 13:34:37 +0000 (14:34 +0100)
commitef46fa2f5ad4152075892ec4f6951bf2c918a8b0
tree3d7645cc260ad91d94785f40967d3d1b064cfebd
parentf19b07647af068030866b7bc94710e930a6fccb9
tests: avoid failing command substitution in errexit mode.

* tests/vartypo2.test, tests/vartypos.test: Rewrite to not use
a command substitution with a nonzero exit status, that causes
IRIX and Tru64/OSF sh to fail the whole test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/vartypo2.test
tests/vartypos.test