1 if test "$redirect_stdin" = no; then
2 cppi $options $t.I > $t.O 2> $t.e
4 cppi $options - < $t.I > $t.O 2> $t.e
9 if test $status != $expected_status; then
10 echo "unexpected return status: got $status; expected $expected_status"
14 if cmp -s $t.O $t.EO; then
17 echo "unexpected results on standard output"
18 echo "compare the output files (expected actual): $t.EO $t.O"
22 if cmp -s $t.e $t.Ee; then
25 echo "unexpected results on standard error"
26 echo "compare the error files (expected actual): $t.Ee $t.e"
30 test $fail = 0 && rm -f $t.I $t.O $t.e $t.EO $t.Ee $extra_temps