mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
test: Move service.sh to test/common/
Signed-off-by: Magnus Malm <magnusmalm@gmail.com>
This commit is contained in:
1 parent
6d9374590f
commit
8a2cc2aeb8
2 files changed
+1
-1
No files matched your search
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
while true; do
|
||||
sleep 5
|
||||
done
|
||||
@@ -21,7 +21,7 @@ test_teardown() {
|
||||
# Test
|
||||
say "Test start $(date)"
|
||||
say 'Set up a service'
|
||||
cp "$TEST_DIR"/test_start_stop_service/service.sh "$TEST_DIR"/test_root/test_assets/
|
||||
cp "$TEST_DIR"/common/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'
|
||||
|
||||
Reference in new issue
Block a user