File: test_archive_bzip2.sh

package info (click to toggle)
mpd 0.24.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,736 kB
  • sloc: cpp: 75,014; python: 1,408; xml: 628; perl: 469; java: 289; sh: 286; ansic: 235; makefile: 105
file content (10 lines) | stat: -rwxr-xr-x 215 bytes parent folder | download | duplicates (6)
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}.bz2"

mkdir -p test/tmp
rm -f "$DST"
bzip2 -c "$SRC" >"$DST"
./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" -