mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 21:26:39 +08:00
test should not print errors when killing aplay/arecord
This commit is contained in:
4
test.sh
4
test.sh
@@ -5,13 +5,13 @@ set -e
|
|||||||
dd if=/dev/urandom of=data.send bs=1024 count=16 status=none
|
dd if=/dev/urandom of=data.send bs=1024 count=16 status=none
|
||||||
./send.py tx.int16 < data.send
|
./send.py tx.int16 < data.send
|
||||||
|
|
||||||
killall arecord aplay || true
|
killall -q arecord aplay || true
|
||||||
|
|
||||||
./wave.py record rx.int16 &
|
./wave.py record rx.int16 &
|
||||||
./wave.py play tx.int16
|
./wave.py play tx.int16
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
killall arecord aplay || true
|
killall -q arecord aplay || true
|
||||||
|
|
||||||
./recv.py rx.int16 > data.recv
|
./recv.py rx.int16 > data.recv
|
||||||
./errors.py data.*
|
./errors.py data.*
|
||||||
|
|||||||
Reference in New Issue
Block a user