summaryrefslogtreecommitdiffstats
path: root/tests/fail-with-missing-lz4
blob: 71c6d605e04b9a5a36df10f415fa36610212c731 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu
export LC_ALL=C.UTF-8
ret=0
{{ CMD }} --mode={{ MODE }} --variant=apt {{ DIST }} /tmp/debian-chroot.tar.lz4 {{ MIRROR }} || ret=$?
if [ "$ret" = 0 ]; then
	echo expected failure but got exit $ret >&2
	exit 1
fi