test: Move service.sh to test/common/

Signed-off-by: Magnus Malm <magnusmalm@gmail.com>
This commit is contained in:
Magnus Malm committed 2021-02-23 11:19:57 +01:00
1 parent 6d9374590f
commit 8a2cc2aeb8
2 files changed
+1 -1

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
#!/bin/sh
set -eu
while true; do
sleep 5
done
+1 -1
View File
@@ -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'