Magnus Malm
3ec788a6cf
test: Minor tweaks of how/when to print testenv stuff
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-23 11:19:57 +01:00
Magnus Malm
5e20abef8d
test: Print running test name with log()
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-23 11:19:57 +01:00
Magnus Malm
3d01728d2e
test: Add testenv_enter.sh to ease debugging testenv
...
The script testenv_enter.sh, by default, runs /bin/sh in the environment
currently setup.
A bit easier than copy pasting the old hint text printed before test run.
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-23 11:19:57 +01:00
Magnus Malm
4480010d4a
test: Add support for teardown in tests
...
If a test defines a function 'test_teardown(), that function will be
called before the test env teardown is run.
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-23 08:55:11 +01:00
Magnus Malm
cd2fcac4cf
test: Handle finit's default conf dirs/files better in test env
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-22 16:46:25 +01:00
Magnus Malm
adc9c40fe1
test: Include initctl in test run env
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-22 16:45:39 +01:00
Magnus Malm
644273fc5c
test: Add 2 convenience shell functions for test development
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-22 15:47:59 +01:00
Magnus Malm
4d4fd40286
Follow-up to 72a892e, Add missing '/'
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-17 11:46:39 +01:00
Magnus Malm
72a892ef55
Fix #151 : Install logit in libexec
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-17 11:33:48 +01:00
Magnus Malm
97196d6520
contrib: alpine: Add finit builtin watchdog daemon
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-17 10:34:10 +01:00
Magnus Malm
20c5788430
contrib: debian: Change sshd config to use absolute path
...
Signed-off-by: Magnus Malm <magnusmalm@gmail.com >
2021-02-15 13:53:22 +01:00