diff --git a/solvable/src/test_fsm.yml b/solvable/src/test_fsm.yml index d34ebcb..793048d 100644 --- a/solvable/src/test_fsm.yml +++ b/solvable/src/test_fsm.yml @@ -4,25 +4,21 @@ states: - name: '0' - name: '1' on_enter: | - python3 -c "from tfwconnector import MessageSender; MessageSender().send('FSM', 'Entered state 1!')" + printf "Entered state 1!\n\n" > /tmp/tfw_bot_send - name: '2' on_enter: | file=/home/user/workdir/cat.txt echo "As you can see it is possible to execute arbitrary shell commands here." >> $file - python3 -c \ - " - from tfwconnector import MessageSender - MessageSender().send('FSM', 'Entered state 2! Written stuff to $file') - " + printf "Entered state 2! Written stuff to $file\n\n" > /tmp/tfw_bot_send - name: '3' on_enter: | - python3 -c "from tfwconnector import MessageSender; MessageSender().send('FSM', 'Entered state 3!')" + printf "Entered state 3!\n\n" > /tmp/tfw_bot_send - name: '4' on_enter: | - python3 -c "from tfwconnector import MessageSender; MessageSender().send('FSM', 'Entered state 4!')" + printf "Entered state 4!\n\n" > /tmp/tfw_bot_send - name: '5' on_enter: | - python3 -c "from tfwconnector import MessageSender; MessageSender().send('FSM', 'Entered state 5!')" + printf "Entered state 5!\n\n" > /tmp/tfw_bot_send transitions: - trigger: step_1 source: '0'