diff options
Diffstat (limited to 'test/lib/completions/timeout.exp')
-rw-r--r-- | test/lib/completions/timeout.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/lib/completions/timeout.exp b/test/lib/completions/timeout.exp new file mode 100644 index 00000000..f56c80f3 --- /dev/null +++ b/test/lib/completions/timeout.exp @@ -0,0 +1,21 @@ +proc setup {} { + save_env +} + + +proc teardown {} { + assert_env_unmodified +} + + +setup + + +assert_complete_any "timeout -" +sync_after_int + +assert_no_complete "timeout " "1st non-option arg=timeout, shouldn't complete" +sync_after_int + + +teardown |