[Bash-completion-commits] [SCM] bash-completion branch, master, updated. c4eaba636f56ee52029fe6530ea4065ede489380
Ville Skyttä
ville.skytta at iki.fi
Tue Nov 16 21:22:06 UTC 2010
The following commit has been merged in the master branch:
commit c4eaba636f56ee52029fe6530ea4065ede489380
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Nov 16 23:20:46 2010 +0200
(testsuite) Add some perl module completion test cases (Alioth: #312832).
The -MFile::Sp and -MFile::Spec::Func test cases fail at the moment
but are not marked as expected failures, hoping for a quick fix for
the above bug ;)
diff --git a/test/lib/completions/perl.exp b/test/lib/completions/perl.exp
index 8be4162..906433d 100644
--- a/test/lib/completions/perl.exp
+++ b/test/lib/completions/perl.exp
@@ -91,5 +91,15 @@ assert_complete $options "perl -"
sync_after_int
+# Assuming that File::Spec and friends are always installed...
+
+assert_complete_any "perl -MFile"
+sync_after_int
+
+assert_complete_any "perl -MFile::Sp"
+sync_after_int
+
+assert_complete_any "perl -MFile::Spec::Func"
+sync_after_int
teardown
--
bash-completion
More information about the Bash-completion-commits
mailing list