Add trivial test cases for abook, lftpget, and wtf.

This commit is contained in:
Ville Skyttä 2009-11-03 22:36:42 +02:00
parent c820944d2e
commit 1ff30048fa
6 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1 @@
source "lib/completions/abook.exp"

View File

@ -0,0 +1 @@
source "lib/completions/lftpget.exp"

1
test/completion/wtf.exp Normal file
View File

@ -0,0 +1 @@
source "lib/completions/wtf.exp"

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "abook "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "lftpget -"
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "wtf "
sync_after_int
teardown