summaryrefslogtreecommitdiff
path: root/test/test_archive_zzip.sh
blob: de4a8ca916da5c59c0fc6757709ab3f64571c5cc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

SRC_BASE=meson.build
SRC="$(dirname $0)/../${SRC_BASE}"
DST="$(pwd)/test/tmp/${SRC_BASE}.zip"

mkdir -p test/tmp
rm -f "$DST"
zip --quiet --junk-paths "$DST" "$SRC"
./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" -