on master help sign in
prybar/tests/clojure/initialize_code_with_script.exp
11 lines 239 B history raw
1#!/usr/bin/expect -f
3# ignore ANSI escape sequences
4set _ "(?:.*?)"
6set timeout -1
7spawn ./prybar-clojure -c {(do (print (str a " " b)) "return-value")} ./test_files/hello.clj
8match_max 100000
9expect -re "^${_}hello 42${_}$"
10expect eof