summaryrefslogtreecommitdiff
path: root/test/lib/completion.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completion.exp')
-rw-r--r--test/lib/completion.exp10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/lib/completion.exp b/test/lib/completion.exp
index ea2a3d8d..88e92d50 100644
--- a/test/lib/completion.exp
+++ b/test/lib/completion.exp
@@ -1,4 +1,4 @@
-source ${srcdir}/lib/library.exp
+source $::srcdir/lib/library.exp
proc completion_exit {} {
@@ -6,6 +6,14 @@ proc completion_exit {} {
}
+proc completion_init {test_file_name} {
+ # Call completion_start() only once
+ if {! [info exists ::BASH_VERSINFO]} {
+ completion_start
+ }
+}
+
+
proc completion_start {} {
start_interactive_test
}