summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-07-12 00:07:35 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-07-12 00:07:35 +0300
commitb68cc0057f605fefcba540fef993ec72a4ee2407 (patch)
tree55a80352b398eebd1706a89731fe178485187bd5 /test
parent1daff31f2efb33412ab5d3f27f4d5681d9ac6568 (diff)
downloadbash-completion-b68cc0057f605fefcba540fef993ec72a4ee2407.tar.gz
curl: New non-generic completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/curl.exp1
-rw-r--r--test/lib/completions/curl.exp20
2 files changed, 21 insertions, 0 deletions
diff --git a/test/completion/curl.exp b/test/completion/curl.exp
new file mode 100644
index 00000000..e8bf2135
--- /dev/null
+++ b/test/completion/curl.exp
@@ -0,0 +1 @@
+assert_source_completions curl
diff --git a/test/lib/completions/curl.exp b/test/lib/completions/curl.exp
new file mode 100644
index 00000000..53512bc4
--- /dev/null
+++ b/test/lib/completions/curl.exp
@@ -0,0 +1,20 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "curl -"
+
+
+sync_after_int
+
+
+teardown