2 set test_name "testcli"
4 spawn sh -c "./testcli < $env(srcdir)/testcli.in | diff -au $env(srcdir)/testcli.refout -"
11 fail "$test_name: timeout"
16 set os_error [lindex $result 2]
17 set exit_status [lindex $result 3]
19 if { $os_error == 0 && $exit_status == 0 } {