aboutsummaryrefslogtreecommitdiff
path: root/test/010-malformed-timestamp.test/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/010-malformed-timestamp.test/run.sh')
-rwxr-xr-xtest/010-malformed-timestamp.test/run.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/010-malformed-timestamp.test/run.sh b/test/010-malformed-timestamp.test/run.sh
new file mode 100755
index 0000000..e33ff75
--- /dev/null
+++ b/test/010-malformed-timestamp.test/run.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo -e '0:a' | ${EXECUTABLE} -r 1 -c 1 -i /dev/zero -s 1 -f track.raw
+
+if [ $? -eq 0 ]; then
+ exit 1
+else
+ exit 0
+fi