Freddy Vulto ad123d1b63 Test suite files of bash-completion-lib
They need minor modifications/upgrading and can then be moved to the
directory without the '_to_review' suffix.
2009-06-09 23:04:43 +02:00

27 lines
326 B
Plaintext

proc setup {} {
}; # setup()
proc teardown {} {
}; # teardown()
setup
set test "Tab should complete"
# Try completion
set cmd "pr "
send "$cmd\t"
expect {
-re "^$cmd\r\n.*$cmd$" { pass "$test" }
-re /@ { unresolved "$test at prompt" }
-re eof { unresolved "eof" }
}; # expect
sync_after_int
teardown