Let remote unit test exit on first error
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
0afeba201b
commit
495325dc51
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
set -ex
|
||||||
. ./test.rc
|
. ./test.rc
|
||||||
|
|
||||||
MSG="kilroy"
|
MSG="kilroy"
|
||||||
@ -7,11 +7,11 @@ MSG="kilroy"
|
|||||||
tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
||||||
#tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
#tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
||||||
PID="$!"
|
PID="$!"
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
../src/logger -u ${SOCK} ${MSG}
|
../src/logger -u ${SOCK} ${MSG}
|
||||||
|
|
||||||
sleep 2
|
sleep 5
|
||||||
kill -TERM ${PID}
|
kill -TERM ${PID}
|
||||||
wait ${PID}
|
wait ${PID}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user