[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 38516ee43194fd496971a9c37e23109f3816e4bf

Guillaume Rousse guillaume at oberkampf.msr-inria.inria.fr
Thu Dec 31 16:36:33 UTC 2009


The following commit has been merged in the master branch:
commit 3d584c94cbaf703fb1438d3a068b17565e438854
Author: Guillaume Rousse <guillaume at oberkampf.msr-inria.inria.fr>
Date:   Tue Dec 29 23:07:06 2009 +0100

    set BASH_COMPLETION_COMPAT_DIR to BASH_COMPLETION_DIR, to avoid sourcing actual /etc/completion.d directory before tests

diff --git a/test/lib/library.exp b/test/lib/library.exp
index 968d780..e5ce971 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -591,6 +591,7 @@ proc _save_env {{file ""}} {
 # Source bash_completion package
 proc source_bash_completion {} {
     assert_bash_exec {BASH_COMPLETION_DIR=$(cd $TESTDIR/..; pwd)/contrib}
+    assert_bash_exec {BASH_COMPLETION_COMPAT_DIR=$BASH_COMPLETION_DIR}
     assert_bash_exec {BASH_COMPLETION=$(cd $TESTDIR/..; pwd)/bash_completion}
     assert_bash_exec {source $BASH_COMPLETION}
 }; # source_bash_completion()

-- 
bash-completion



More information about the Bash-completion-commits mailing list