diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-04-23 23:44:32 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-04-23 23:44:32 +1200 |
commit | 01a3d56ab3c71a065c3b827740dade5f27e95ef3 (patch) | |
tree | 4deb062bae8e342016caf3d471284038707023da /test/007-unreadable-infile.test/run.sh | |
parent | 69b95d4a4a3cfdac9eb0a8f03c7bf381eac3a3e1 (diff) | |
download | cue-bin-split-01a3d56ab3c71a065c3b827740dade5f27e95ef3.tar.xz |
Improved test coverage
Diffstat (limited to 'test/007-unreadable-infile.test/run.sh')
-rwxr-xr-x | test/007-unreadable-infile.test/run.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/007-unreadable-infile.test/run.sh b/test/007-unreadable-infile.test/run.sh new file mode 100755 index 0000000..0d8262d --- /dev/null +++ b/test/007-unreadable-infile.test/run.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +touch foo.in +chmod -r foo.in + +${EXECUTABLE} -r 1 -c 1 -i foo.in -s 1 -f track%2d.raw + +if [ $? -eq 0 ]; then + exit 1 +else + rm -f foo.in + exit 0 +fi |