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

Freddy Vulto fvulto at gmail.com
Sat Oct 9 20:13:56 UTC 2010


The following commit has been merged in the master branch:
commit dff42419986c7400a82384629285c86bd42f5a60
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Sat Oct 9 22:12:51 2010 +0200

    (testsuite) Fix _filedir test for "compgen -f" hack
    One test was failing on bash-3

diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp
index 59d5085..987df52 100644
--- a/test/unit/_filedir.exp
+++ b/test/unit/_filedir.exp
@@ -251,12 +251,7 @@ sync_after_int
 set test "completing f aé should return g when LC_CTYPE=C"
 # Backup/set LC_CTYPE
 assert_bash_exec {OLD_CTYPE=$LC_CTYPE; LC_CTYPE=C}
-if {[lindex $::BASH_VERSINFO 0] > 3} {
-    assert_complete_dir g "f aé/" "fixtures/_filedir"
-} else {
-    assert_complete_dir "\b\b\b\b$'a\\\\303\\\\251/g'" "f aé/" \
-        "fixtures/_filedir"
-}
+assert_complete_dir g "f aé/" "fixtures/_filedir"
 # Restore LC_CTYPE
 assert_bash_exec {[[ $OLD_CTYPE ]] && LC_CTYPE=$OLD_CTYPE || unset LC_CTYPE}
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list