t/shelltest.od: quiet some error messages that get printed during testing.

If the error message only triggered a shelltest warning instead of a
failure, then they're harmless, so we might as well silence them when
running 'redo test' (which runs t/shelltest.do, which enables
SHELLTEST_QUIET).  We still want to print them when actually testing out
shelltest.od, though, to help with debugging the script.
This commit is contained in:
Avery Pennarun 2011-05-08 01:23:32 -04:00
commit c6020cf1cd
2 changed files with 18 additions and 5 deletions

View file

@ -1,4 +1,5 @@
set +e
export SHELLTEST_QUIET=1
( . ./shelltest.od )
RV=$?
case $RV in