mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
test: Add standard dir for test assets
Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
1 parent
2c56e20941
commit
07521e043a
3 files changed
+5
-2
No files matched your search
@@ -12,8 +12,8 @@ assert_num_children() {
|
||||
|
||||
# Test
|
||||
say 'Set up a service'
|
||||
cp "$TEST_DIR"/test_start_stop_service/service.sh "$TEST_DIR"/test_root/bin
|
||||
texec sh -c "echo 'service [2345] kill:20 log /bin/service.sh' > $FINIT_CONF"
|
||||
cp "$TEST_DIR"/test_start_stop_service/service.sh "$TEST_DIR"/test_root/test_assets/
|
||||
texec sh -c "echo 'service [2345] kill:20 log /test_assets/service.sh' > $FINIT_CONF"
|
||||
|
||||
say 'Reload Finit'
|
||||
texec kill -SIGHUP 1
|
||||
|
||||
Reference in new issue
Block a user