diff options
author | Max Kellermann <max@duempel.org> | 2009-12-31 11:11:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-31 15:50:59 +0100 |
commit | a0384aaead1427e9f7bd3643c4149371d687e53d (patch) | |
tree | 7a60322cedc1fb3af7c01ad773053ea2fe33f7a9 /test/test_archive_bzip2.sh | |
parent | efc885a9dc2e6632ca2a24a0ff52ab51bb1d82d1 (diff) | |
download | mpd-a0384aaead1427e9f7bd3643c4149371d687e53d.tar.gz mpd-a0384aaead1427e9f7bd3643c4149371d687e53d.tar.xz mpd-a0384aaead1427e9f7bd3643c4149371d687e53d.zip |
Makefile.am: added unit tests for the archive plugins
Diffstat (limited to '')
-rwxr-xr-x | test/test_archive_bzip2.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_archive_bzip2.sh b/test/test_archive_bzip2.sh new file mode 100755 index 000000000..2c45076aa --- /dev/null +++ b/test/test_archive_bzip2.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e + +SRC_BASE=configure +SRC="$(dirname $0)/../${SRC_BASE}" +DST="$(pwd)/test/tmp/${SRC_BASE}.bz2" + +mkdir -p test/tmp +rm -f "$DST" +bzip2 -c "$SRC" >"$DST" +./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" - |