bash-completion/test/lib/completion.exp
Freddy Vulto de51dd3a89 (testsuite) Prepend relative files with $::srcdir
in an attempt to be able to run the tests successfully from within
autotools' `make distcheck'.
2010-11-05 21:28:48 +01:00

25 lines
376 B
Plaintext

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"
}