2010-11-05 21:28:48 +01:00
|
|
|
source $::srcdir/lib/library.exp
|
2009-06-09 22:49:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
proc completion_exit {} {
|
|
|
|
send "\rexit\r"
|
2010-02-20 22:53:30 +02:00
|
|
|
}
|
2009-06-09 22:49:53 +02:00
|
|
|
|
|
|
|
|
2010-11-05 21:11:57 +01:00
|
|
|
proc completion_init {test_file_name} {
|
|
|
|
# Call completion_start() only once
|
|
|
|
if {! [info exists ::BASH_VERSINFO]} {
|
|
|
|
completion_start
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-06-09 22:49:53 +02:00
|
|
|
proc completion_start {} {
|
2010-02-20 22:53:30 +02:00
|
|
|
start_interactive_test
|
|
|
|
}
|
2009-06-09 22:49:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
proc completion_version {} {
|
2009-12-05 14:53:47 +01:00
|
|
|
puts "$::TESTDIR, bash-$::BASH_VERSION"
|
2009-06-09 22:49:53 +02:00
|
|
|
}
|