Makefile.am: added unit tests for the archive plugins

This commit is contained in:
Max Kellermann
2009-12-31 11:11:14 +01:00
parent efc885a9dc
commit a0384aaead
7 changed files with 64 additions and 0 deletions

10
test/test_archive_bzip2.sh Executable file
View File

@@ -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" -