test.sh: block on the receiver

This commit is contained in:
Roman Zeyde
2014-08-01 15:18:11 +03:00
parent 36d5d2001d
commit ada48de998

View File

@@ -40,11 +40,11 @@ run_dst killall -q arecord || true
run_dst "./wave.py record rx.int16" &
sleep 1 # let rx.int16 be filled
# start the receiever
run_dst "./recv.py <rx.int16 >data.recv" &
# play the modulated data
run_src ./wave.py play tx.int16
run_src ./wave.py play tx.int16 &
# start the receiever
run_dst "./recv.py <rx.int16 >data.recv"
# stop recording after playing is over
run_src killall -q aplay || true