diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp index a1757a84..59b536e6 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 {