[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 50dd6c7ac6b07736b37cac60f9a28091ba1416c0

Freddy Vulto fvulto at gmail.com
Sun Oct 31 06:53:58 UTC 2010


The following commit has been merged in the master branch:
commit 50dd6c7ac6b07736b37cac60f9a28091ba1416c0
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Sun Oct 31 07:53:15 2010 +0100

    (testsuite) Test for expect-5.44 to prevent segfault
    Modified test title

diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp
index a1757a8..59b536e 100644
--- a/test/unit/_filedir.exp
+++ b/test/unit/_filedir.exp
@@ -248,13 +248,16 @@ assert_complete_dir {ee.e1 foo/ gg.e1 ii.E1} "g " "fixtures/_filedir/ext" $test
 sync_after_int
 
 
-set test "completing f aé should return g when LC_CTYPE=C"
+set test "completing f aé should return g"
 # Execute this test only on bash >= 4 with LC_CTYPE matching *UTF-8*
 # See also: http://www.mail-archive.com/bash-completion-devel\
 #           @lists.alioth.debian.org/msg02265.html
+# Don't execute this test on expect-5.44 cause it will segfault
+# See also: Alioth #312792
 if {
-    [lindex $::BASH_VERSINFO 0] >= 4 && 
-    [string first "UTF-8" $::LC_CTYPE] != -1
+    [lindex $::BASH_VERSINFO 0] >= 4 &&
+    [string first "UTF-8" $::LC_CTYPE] != -1 &&
+    [string first 5.44 [exp_version]] != 0
 } {
     assert_complete_dir g "f aé/" "fixtures/_filedir"
 } else {

-- 
bash-completion



More information about the Bash-completion-commits mailing list