2009-06-09 23:18:59 +02:00
|
|
|
set test "Completion via _filedir_xspec() should be installed"
|
|
|
|
set cmd "complete -p acroread"
|
|
|
|
send "$cmd\r"
|
|
|
|
|
2010-11-01 19:26:53 +02:00
|
|
|
set expected "^$cmd\r\ncomplete -F _filedir_xspec acroread\r\n/@$"
|
2009-06-09 23:18:59 +02:00
|
|
|
expect {
|
|
|
|
-re $expected { pass "$test" }
|
|
|
|
-re /@ { fail "$test at prompt" }
|
|
|
|
}; # expect
|
|
|
|
|
|
|
|
|
2010-11-12 23:35:36 +01:00
|
|
|
source "$::srcdir/lib/completions/acroread.exp"
|