(testsuite) Test for expect-5.44 to prevent segfault
Modified test title
This commit is contained in:
parent
bf763033b7
commit
50dd6c7ac6
@ -248,13 +248,16 @@ assert_complete_dir {ee.e1 foo/ gg.e1 ii.E1} "g " "fixtures/_filedir/ext" $test
|
|||||||
sync_after_int
|
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*
|
# Execute this test only on bash >= 4 with LC_CTYPE matching *UTF-8*
|
||||||
# See also: http://www.mail-archive.com/bash-completion-devel\
|
# See also: http://www.mail-archive.com/bash-completion-devel\
|
||||||
# @lists.alioth.debian.org/msg02265.html
|
# @lists.alioth.debian.org/msg02265.html
|
||||||
|
# Don't execute this test on expect-5.44 cause it will segfault
|
||||||
|
# See also: Alioth #312792
|
||||||
if {
|
if {
|
||||||
[lindex $::BASH_VERSINFO 0] >= 4 &&
|
[lindex $::BASH_VERSINFO 0] >= 4 &&
|
||||||
[string first "UTF-8" $::LC_CTYPE] != -1
|
[string first "UTF-8" $::LC_CTYPE] != -1 &&
|
||||||
|
[string first 5.44 [exp_version]] != 0
|
||||||
} {
|
} {
|
||||||
assert_complete_dir g "f aé/" "fixtures/_filedir"
|
assert_complete_dir g "f aé/" "fixtures/_filedir"
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user