From 2e4d73ff6c9f47b9a57a9b5e8e2a1d869b233559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 12 May 2011 00:24:15 +0300 Subject: [PATCH] testsuite: Add basic ssh-copy-id test case. --- test/completion/ssh-copy-id.exp | 1 + test/lib/completions/ssh-copy-id.exp | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/completion/ssh-copy-id.exp create mode 100644 test/lib/completions/ssh-copy-id.exp diff --git a/test/completion/ssh-copy-id.exp b/test/completion/ssh-copy-id.exp new file mode 100644 index 00000000..c4923e78 --- /dev/null +++ b/test/completion/ssh-copy-id.exp @@ -0,0 +1 @@ +assert_source_completions ssh-copy-id diff --git a/test/lib/completions/ssh-copy-id.exp b/test/lib/completions/ssh-copy-id.exp new file mode 100644 index 00000000..e8b643fd --- /dev/null +++ b/test/lib/completions/ssh-copy-id.exp @@ -0,0 +1,20 @@ +proc setup {} { + save_env +} + + +proc teardown {} { + assert_env_unmodified +} + + +setup + + +assert_complete_any "ssh-copy-id -" + + +sync_after_int + + +teardown