mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 06:23:11 +07:00
test: Create FINIT_CONF dir before writing to the file
Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
@@ -5,6 +5,7 @@ set -eu
|
||||
# Test
|
||||
say 'Set up a service'
|
||||
cp "$TEST_DIR"/service.sh test_root/bin
|
||||
texec mkdir -p "$(dirname "$FINIT_CONF")"
|
||||
texec sh -c "echo 'service [2345] kill:20 log /bin/service.sh' > $FINIT_CONF"
|
||||
|
||||
say 'Reload Finit'
|
||||
|
||||
Reference in New Issue
Block a user