mirror of
https://github.com/troglobit/finit.git
synced 2026-11-12 16:51:25 +00:00
test: Include initctl in test run env
Signed-off-by: Magnus Malm <magnusmalm@gmail.com>
This commit is contained in:
1 parent
914955341d
commit
adc9c40fe1
1 file changed
+5
-1
+5
-1
@@ -3,6 +3,7 @@
|
|||||||
ARCH ?= x86_64
|
ARCH ?= x86_64
|
||||||
|
|
||||||
FINITBIN ?= ../src/finit
|
FINITBIN ?= ../src/finit
|
||||||
|
INITCTLBIN ?= ../src/initctl
|
||||||
|
|
||||||
BBVER ?= 1.31.0
|
BBVER ?= 1.31.0
|
||||||
BBBIN = busybox-$(ARCH)
|
BBBIN = busybox-$(ARCH)
|
||||||
@@ -68,11 +69,14 @@ $(testroot_bin)/chrootsetup.sh: chrootsetup.sh
|
|||||||
$(testroot)/sbin/finit: $(FINITBIN) $(libs)
|
$(testroot)/sbin/finit: $(FINITBIN) $(libs)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
|
$(testroot)/bin/initctl: $(INITCTLBIN) $(libs)
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
$(libs):
|
$(libs):
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
cp $(shell echo $@ | sed s/^$(testroot)//) $@
|
cp $(shell echo $@ | sed s/^$(testroot)//) $@
|
||||||
|
|
||||||
check: $(binaries) $(testroot_bin)/chrootsetup.sh $(dirs) $(testroot)/sbin/finit
|
check: $(binaries) $(testroot_bin)/chrootsetup.sh $(dirs) $(testroot)/sbin/finit $(testroot)/bin/initctl
|
||||||
./runtest.sh test_start_stop_service/test.sh
|
./runtest.sh test_start_stop_service/test.sh
|
||||||
|
|
||||||
test-check:
|
test-check:
|
||||||
|
|||||||
Reference in new issue
Block a user