From a34a38041003a87243e0aa23f944fbeee70bc2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 26 Feb 2011 15:58:20 +0200 Subject: [PATCH] (testsuite) Add basic puppet test case. --- test/completion/puppet.exp | 1 + test/lib/completions/puppet.exp | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/completion/puppet.exp create mode 100644 test/lib/completions/puppet.exp diff --git a/test/completion/puppet.exp b/test/completion/puppet.exp new file mode 100644 index 00000000..28463445 --- /dev/null +++ b/test/completion/puppet.exp @@ -0,0 +1 @@ +assert_source_completions puppet diff --git a/test/lib/completions/puppet.exp b/test/lib/completions/puppet.exp new file mode 100644 index 00000000..7b7da3e7 --- /dev/null +++ b/test/lib/completions/puppet.exp @@ -0,0 +1,20 @@ +proc setup {} { + save_env +} + + +proc teardown {} { + assert_env_unmodified +} + + +setup + + +assert_complete_any "puppet " + + +sync_after_int + + +teardown