You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
215 B
Bash

#!/bin/sh -e
SRC_BASE=meson.build
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" -