Skip to content

Commit

Permalink
Fixes error in run-demo.exp
Browse files Browse the repository at this point in the history
  • Loading branch information
dylon committed Feb 19, 2024
1 parent 1ec8543 commit c7440c8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions example/scripts/run-demo.exp
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env expect
spawn valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=100 --verbose {*}$argv
expect -ex "query> " {send "Jvaa\n"}
expect -ex "query> " {send "Clojre\n"}
expect -ex "query> " {send "Ptyhon\n"}
expect -ex "query> " {send "\n"}
expect -ex "query> "
send -- "Jvaa\n"
expect -ex "query> "
send -- "Clojre\n"
expect -ex "query> "
send -- "Ptyhon\n"
expect -ex "query> "
send -- "\n"
expect eof
catch wait result
exit [lindex $result 3]

0 comments on commit c7440c8

Please sign in to comment.