test.sh option --internet, function checkcond

This commit is contained in:
Gerhard Rieger 2023-11-06 21:22:18 +01:00
parent 44c9eb1d9d
commit f61a95585b
2 changed files with 10 additions and 10 deletions

View file

@ -238,7 +238,7 @@ Porting:
Testing: Testing:
Removed obselete parts from test.sh Removed obselete parts from test.sh
Introduced function checkcond from test.sh test.sh: Introduced function checkcond
Renamed test.sh option -foreign to -internet Renamed test.sh option -foreign to -internet

View file

@ -18167,7 +18167,7 @@ else
rc1=$? rc1=$?
kill $pid0 2>/dev/null; wait kill $pid0 2>/dev/null; wait
if [ "$rc1" -ne 0 ]; then if [ "$rc1" -ne 0 ]; then
$PRINTF "$FAILED\n" $PRINTF "$FAILED (rc1=$rc1)\n"
echo "$CMD0 &" echo "$CMD0 &"
cat "${te}0" >&2 cat "${te}0" >&2
echo "$CMD1" echo "$CMD1"
@ -18176,7 +18176,7 @@ else
listFAIL="$listFAIL $N" listFAIL="$listFAIL $N"
namesFAIL="$namesFAIL $NAME" namesFAIL="$namesFAIL $NAME"
elif ! echo "$da" |diff "${tf}1" - >$tdiff; then elif ! echo "$da" |diff "${tf}1" - >$tdiff; then
$PRINTF "$FAILED\n" $PRINTF "$FAILED (diff)\n"
echo "$CMD0 &" echo "$CMD0 &"
cat "${te}0" >&2 cat "${te}0" >&2
echo "$CMD1" echo "$CMD1"