test: Use FINIT_CONF from autoconf instead of hardcoded /etc/finit.conf

Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
Jacques de Laval committed 2021-02-22 14:34:22 +01:00
1 parent 765e1eb640
commit 407c524088
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -47,6 +47,8 @@ shift
trap teardown EXIT
FINIT_CONF=$(grep FINIT_CONF "$(dirname "$0")/../config.h" | cut -d' ' -f3 | cut -d'"' -f2)
log "$color_reset" 'Test start' ''
log "$color_reset" '--' ''
@@ -57,6 +59,7 @@ log "$color_reset" '--' ''
>&2 echo Filesystem:
>&2 ./testenv_start.sh find / -path /sys -prune -o -print -path /proc -prune -o -print
>&2 echo --
>&2 echo "FINIT_CONF='$FINIT_CONF"
# Setup
./testenv_start.sh finit &