aboutsummaryrefslogtreecommitdiff
path: root/test/003-run-to-eof.test/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/003-run-to-eof.test/run.sh')
-rw-r--r--test/003-run-to-eof.test/run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/003-run-to-eof.test/run.sh b/test/003-run-to-eof.test/run.sh
new file mode 100644
index 0000000..6fa2fd4
--- /dev/null
+++ b/test/003-run-to-eof.test/run.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# create large file
+dd if=/dev/urandom of=raw bs=1M count=1
+
+echo 0:0:0 | ${EXECUTABLE} -r 44100 -c 1 -s 2 -i raw -f track_%d.raw
+
+diff raw track_1.raw >/dev/null && rm raw track_1.raw