Debian Codegraph @

src/tests/plain_id3.sh

raw
1 #!/bin/sh
2
3 set -e
4 export LC_ALL=C
5
6 sweep="$srcdir/src/tests/sweep.mp3"
7 out=src/tests/plain_id3.out.txt
8 ref="$srcdir/src/tests/plain_id3.txt"
9
10 src/tests/plain_id3 "$sweep" > src/tests/plain_id3.out.txt
11
12 if ! diff -q "$ref" "$out"; then
13 exit 1
14 fi
15 echo PASS