aboutsummaryrefslogtreecommitdiff
path: root/test/test_archive_bzip2.sh
blob: 2c45076aae9c9940a99ad81fffd398e281c850be (plain)
1
2
3
4
5
6
7
8
9
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" -