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_iso9660.sh | |
parent | efc885a9dc2e6632ca2a24a0ff52ab51bb1d82d1 (diff) |
Makefile.am: added unit tests for the archive plugins
Diffstat (limited to 'test/test_archive_iso9660.sh')
-rwxr-xr-x | test/test_archive_iso9660.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_archive_iso9660.sh b/test/test_archive_iso9660.sh new file mode 100755 index 000000000..070d2da0a --- /dev/null +++ b/test/test_archive_iso9660.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e + +SRC_BASE=configure +SRC="$(dirname $0)/../${SRC_BASE}" +DST="$(pwd)/test/tmp/${SRC_BASE}.iso" + +mkdir -p test/tmp +rm -f "$DST" +mkisofs -quiet -l -o "$DST" "$SRC" +./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" - |