mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 07:52:32 +00:00
merged: minor corrections in test.sh
This commit is contained in:
commit
2ebedc0457
1 changed files with 2 additions and 1 deletions
3
test.sh
3
test.sh
|
@ -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 &"
|
||||||
|
|
Loading…
Reference in a new issue