Index: trunk/tests/RTT/Test_export.sh =================================================================== --- trunk/tests/RTT/Test_export.sh (revision 10594) +++ trunk/tests/RTT/Test_export.sh (revision 10595) @@ -21,6 +21,7 @@ have=`./Export.sh --list` +export fail=0 echo "$want" | while read fmt args do if test ! -z "$fmt" @@ -37,4 +38,12 @@ echo "$fmt: SKIP (plugin not enabled)" fi fi + + # the only way to set the return value of the while() + if test "$fail" -ne "0" + then + false + else + true + fi done