bash-completion/test/lib/completion.exp

25 lines
376 B
Plaintext
Raw Normal View History

source $::srcdir/lib/library.exp
proc completion_exit {} {
send "\rexit\r"
}
proc completion_init {test_file_name} {
# Call completion_start() only once
if {! [info exists ::BASH_VERSINFO]} {
completion_start
}
}
proc completion_start {} {
start_interactive_test
}
proc completion_version {} {
puts "$::TESTDIR, bash-$::BASH_VERSION"
}