summaryrefslogtreecommitdiff
path: root/test/test_archive_iso9660.sh
blob: fc999bd47fa3e47f82def25da29b6203bc8572ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

SRC_BASE=meson.build
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"

# Using an odd chunk size to check whether the plugin can cope with
# partial sectors
./test/run_input --chunk-size=1337 "$DST/${SRC_BASE}" |diff "$SRC" -