From bdb31c8ca22739fa6ed15e1ec355d63af07e7c1c Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 13 Mar 2016 13:35:03 +1300 Subject: Misc test addition --- test/002-no-timestamp.test/run.sh | 11 +++++++++++ test/002-no-timestamp.test/stderr.expected | 1 + 2 files changed, 12 insertions(+) create mode 100644 test/002-no-timestamp.test/run.sh create mode 100644 test/002-no-timestamp.test/stderr.expected (limited to 'test') diff --git a/test/002-no-timestamp.test/run.sh b/test/002-no-timestamp.test/run.sh new file mode 100644 index 0000000..122b849 --- /dev/null +++ b/test/002-no-timestamp.test/run.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# create large file + +echo | ${EXECUTABLE} -r 44100 -c 1 -s 2 -i /dev/zero -f track_%d.raw + +if [ $? -eq 0 ]; then + exit 1 +else + exit 0 +fi diff --git a/test/002-no-timestamp.test/stderr.expected b/test/002-no-timestamp.test/stderr.expected new file mode 100644 index 0000000..5153def --- /dev/null +++ b/test/002-no-timestamp.test/stderr.expected @@ -0,0 +1 @@ +ERROR: At least one start timestamp must be specified -- cgit v1.1