mirror of
https://github.com/troglobit/finit.git
synced 2026-11-22 20:01:46 +00:00
test: refactor test framework to use a rootfs skeleton
Instead of having to create files, and copying them in place for each test, we move all static test files to a skeleton rootfs. This makes it a lot easier to get an overview of how things and how they work. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5c2577214d
commit
7f8a96a73e
49 files changed
+96
-70
No files matched your search
@@ -4,6 +4,7 @@ set -eu
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
make -C "$top_builddir" DESTDIR="$TENV_ROOT" install
|
||||
cp "$top_builddir/test/common/serv" "$TENV_ROOT/sbin/"
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
FINITBIN="$(pwd)/$top_builddir/src/finit" DEST="$TENV_ROOT" make -f "$srcdir/tenv/root.mk"
|
||||
|
||||
Reference in new issue
Block a user