merged: minor corrections in test.sh

This commit is contained in:
Gerhard Rieger 2010-01-10 14:30:54 +01:00
commit 2ebedc0457
1 changed files with 2 additions and 1 deletions

View File

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