2011-01-17 22:26:50 +01:00

29 lines
383 B
Plaintext

proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
set test "Tab should complete options"
set cmd "xfreerdp --"
send "$cmd\t"
set expected "^$cmd\r\n--data.*--kbd-list.*--plugin\r\n/@$cmd$"
expect {
-re $expected { pass "$test" }
-re /@ { unresolved "$test at prompt" }
default { unresolved "$test" }
}
sync_after_int
teardown