test: Fix distcheck

Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
Jacques de Laval committed 2021-02-23 23:20:39 +01:00
1 parent 70773105ac
commit 05901a90aa
9 files changed
+55 -24

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -eu
# shellcheck disable=SC2154
"$srcdir"/../configure --prefix=/
make
make DESTDIR="$(pwd)/test_root/" install
mkdir -p test_root/bin
cp "${srcdir}/test_root/bin/chrootsetup.sh" test_root/bin
cp "${srcdir}/test_root/busybox-x86_64.md5" test_root/
cp "${srcdir}/test_root/Makefile" test_root/
make -C test_root/