From c858043cbc58333d15be1c1750ef190762c4fe4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 16 Jun 2010 20:34:08 +0300 Subject: [PATCH] Add basic tests for hping2. --- test/completion/hping2.exp | 1 + test/lib/completions/hping2.exp | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/completion/hping2.exp create mode 100644 test/lib/completions/hping2.exp diff --git a/test/completion/hping2.exp b/test/completion/hping2.exp new file mode 100644 index 00000000..e9df7c2b --- /dev/null +++ b/test/completion/hping2.exp @@ -0,0 +1 @@ +assert_source_completions hping2 diff --git a/test/lib/completions/hping2.exp b/test/lib/completions/hping2.exp new file mode 100644 index 00000000..03af8c96 --- /dev/null +++ b/test/lib/completions/hping2.exp @@ -0,0 +1,20 @@ +proc setup {} { + save_env +}; # setup() + + +proc teardown {} { + assert_env_unmodified +}; # teardown() + + +setup + + +assert_complete_any "hping2 " + + +sync_after_int + + +teardown