Skip to content

Commit a1f179f

Browse files
committed
feat(s2v2): Adjust demo
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent 3de1305 commit a1f179f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/tests/z-wave-stack-binaries-test.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ exit_()
107107
{
108108
local code=0$1
109109
log_ "exit: $@ code=$code ; Use: debug=1 $0 # To trace script)"
110-
sleep 10
110+
sleep 100
111111
[ -z "$debug" ] || sleep 1000
112112
echo "$code" | tee "$code_log"
113113
screen -S "$name" -X "quit" ||:
@@ -348,8 +348,8 @@ zpc_()
348348

349349
zpc_cli_()
350350
{
351-
log_ "TODO: Fix console that eat some chars, and discard next workaround"
352-
log_ "TODO: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/30"
351+
# log_ "TODO: Fix console that eat some chars, and discard next workaround"
352+
# log_ "TODO: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/30"
353353
if ! true ; then
354354
screen -S "$name" -p "zpc" -t zpc -X stuff "$@^M"
355355
else
@@ -736,12 +736,12 @@ play_node_s2v2_()
736736
play_node_()
737737
{
738738
local node="$1"
739-
if true ; then
739+
if ! true ; then
740740
play_net_add_node_ $node
741741
play_net_remove_node_ $node
742742
fi
743743

744-
if true ; then
744+
if ! true ; then
745745
play_net_add_node_ $node
746746
play_node_${node}_
747747
play_net_remove_node_ $node
@@ -760,7 +760,7 @@ play_nodes_()
760760
{
761761
local nodes=(
762762
soc_switch_on_off
763-
soc_multilevel_sensor
763+
# soc_multilevel_sensor # TODO: Should wait before NLS check
764764
soc_door_lock_keypad
765765
)
766766
for node in ${nodes[@]} ; do
@@ -801,6 +801,7 @@ play_()
801801
done
802802

803803
log_ "$task: exit: $code"
804+
804805
exit_ 0$code
805806
}
806807

0 commit comments

Comments
 (0)