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

Freddy Vulto fvulto at gmail.com
Fri Sep 25 18:31:28 UTC 2009


The following commit has been merged in the master branch:
commit b66425e8cfcafe08e1f8841e1b946d96cd0502a1
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Fri Sep 25 20:28:00 2009 +0200

    (testsuite) Remove test with non-portable filenames
    Files containing a star (*) aren't support on FAT, thus Cygwin.
    Closes Alioth #311979.

diff --git a/test/fixtures/_known_hosts_real/known*hosts b/test/fixtures/_known_hosts_real/known*hosts
deleted file mode 100644
index 5db1143..0000000
--- a/test/fixtures/_known_hosts_real/known*hosts
+++ /dev/null
@@ -1,2 +0,0 @@
-star*d
-tra,10.0.0.0 key
diff --git a/test/fixtures/_known_hosts_real/known*hosts2 b/test/fixtures/_known_hosts_real/known*hosts2
deleted file mode 100644
index 3cabce9..0000000
--- a/test/fixtures/_known_hosts_real/known*hosts2
+++ /dev/null
@@ -1 +0,0 @@
-star*d2
diff --git a/test/fixtures/_known_hosts_real/star*conf b/test/fixtures/_known_hosts_real/star*conf
deleted file mode 100644
index a20af35..0000000
--- a/test/fixtures/_known_hosts_real/star*conf
+++ /dev/null
@@ -1,2 +0,0 @@
-UserKnownHostsFile fixtures/_known_hosts_real/known*hosts
-UserKnownHostsFile "fixtures/_known_hosts_real/known*hosts2"
diff --git a/test/unit/_known_hosts_real.exp b/test/unit/_known_hosts_real.exp
index 76ecf7f..a3669ee 100644
--- a/test/unit/_known_hosts_real.exp
+++ b/test/unit/_known_hosts_real.exp
@@ -78,16 +78,4 @@ assert_bash_exec "unset -v COMP_KNOWN_HOSTS_WITH_HOSTFILE"
 sync_after_int
 
 
-set test "Config file containing star (*) should work"
-set hosts [get_hosts]
-    # Hosts `star*d', `tra' and `10.0.0.0' are defined in ./fixtures/_known_hosts_real/known*hosts
-    # Hosts `star*d2' is defined in ./fixtures/_known_hosts_real/known*hosts2
-lappend hosts star*d star*d2 tra 10.0.0.0
-set cmd {_known_hosts_real -aF 'fixtures/_known_hosts_real/star*conf' ''; echo_array COMPREPLY}
-assert_bash_list $hosts $cmd $test
-
-
-sync_after_int
-
-
 teardown

-- 
bash-completion



More information about the Bash-completion-commits mailing list