summaryrefslogtreecommitdiff
path: root/test/lib/completions/tshark.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/tshark.exp')
-rw-r--r--test/lib/completions/tshark.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/lib/completions/tshark.exp b/test/lib/completions/tshark.exp
new file mode 100644
index 00000000..f2419119
--- /dev/null
+++ b/test/lib/completions/tshark.exp
@@ -0,0 +1,21 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "tshark -"
+sync_after_int
+
+assert_complete_any "tshark -G "
+sync_after_int
+
+
+teardown