From a0384aaead1427e9f7bd3643c4149371d687e53d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 31 Dec 2009 11:11:14 +0100 Subject: Makefile.am: added unit tests for the archive plugins --- test/test_archive_bzip2.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 test/test_archive_bzip2.sh (limited to 'test/test_archive_bzip2.sh') 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" - -- cgit v1.2.3