From fc98aa7ed7a23319ea1ed40a77ef2f0592c46022 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 4 Aug 2014 08:37:18 +0300 Subject: [PATCH] test: fix audio filenames --- test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test.sh b/test.sh index 16d8c23..ea15683 100755 --- a/test.sh +++ b/test.sh @@ -31,20 +31,20 @@ run_src dd if=/dev/urandom of=data.send bs=125kB count=1 status=none SRC_HASH=`run_src sha256sum data.send` # modulate data into audio file -run_src "./send.py tx.int16" +run_src "./send.py audio.send" # stop old recording and start a new one run_src killall -q aplay || true run_dst killall -q arecord || true -run_dst "./wave.py record rx.int16" & -sleep 1 # let rx.int16 be filled +run_dst "./wave.py record audio.recv" & +sleep 1 # let audio.recv be filled # play the modulated data -run_src ./wave.py play tx.int16 & +run_src ./wave.py play audio.send & # start the receiever -run_dst "./recv.py data.recv" +run_dst "./recv.py data.recv" # stop recording after playing is over run_src killall -q aplay || true @@ -53,4 +53,4 @@ run_dst killall -q arecord || true # verify transmittion DST_HASH=`run_dst sha256sum data.recv` -echo -e "$SRC_HASH\n$DST_HASH" \ No newline at end of file +echo -e "$SRC_HASH\n$DST_HASH"