Update tests

This commit is contained in:
AsamK 2021-10-27 14:01:58 +02:00
parent 06aeeaa6e6
commit 95a27c8ec4

View file

@ -83,16 +83,13 @@ sleep 5
## DBus ## DBus
run_main -u "$NUMBER_1" --dbus send "$NUMBER_2" -m daemon_not_running || true #run_main -u "$NUMBER_1" --dbus send "$NUMBER_2" -m daemon_not_running || true
run_main daemon & #run_main daemon &
DAEMON_PID=$! #DAEMON_PID=$!
sleep 10 #sleep 10
echo send #run_main -u "$NUMBER_1" --dbus send "$NUMBER_2" -m hii
run_main -u "$NUMBER_1" --dbus send "$NUMBER_2" -m hii #run_main -u "$NUMBER_2" --dbus receive
run_main -u "$NUMBER_2" --dbus receive #kill "$DAEMON_PID"
echo kill
kill "$DAEMON_PID"
echo killed
# JSON-RPC # JSON-RPC