merged: minor corrections in test.sh

This commit is contained in:
Gerhard Rieger 2010-01-10 14:30:54 +01:00
commit 2ebedc0457

View file

@ -6063,8 +6063,9 @@ eval "$SRV 2>${te}s &"
pids=$! pids=$!
waitfile "$ts1" waitfile "$ts1"
echo "$da1" |eval "$CLI" >"${tf}1" 2>"${te}1" echo "$da1" |eval "$CLI" >"${tf}1" 2>"${te}1"
rc=$?
wait wait
if [ $? -ne 0 ]; then if [ $rc -ne 0 ]; then
kill "$pids" 2>/dev/null kill "$pids" 2>/dev/null
$PRINTF "$FAILED:\n" $PRINTF "$FAILED:\n"
echo "$SRV &" echo "$SRV &"