Add trivial test cases for abook, lftpget, and wtf.
This commit is contained in:
parent
c820944d2e
commit
1ff30048fa
1
test/completion/abook.exp
Normal file
1
test/completion/abook.exp
Normal file
@ -0,0 +1 @@
|
||||
source "lib/completions/abook.exp"
|
1
test/completion/lftpget.exp
Normal file
1
test/completion/lftpget.exp
Normal file
@ -0,0 +1 @@
|
||||
source "lib/completions/lftpget.exp"
|
1
test/completion/wtf.exp
Normal file
1
test/completion/wtf.exp
Normal file
@ -0,0 +1 @@
|
||||
source "lib/completions/wtf.exp"
|
20
test/lib/completions/abook.exp
Normal file
20
test/lib/completions/abook.exp
Normal 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
|
20
test/lib/completions/lftpget.exp
Normal file
20
test/lib/completions/lftpget.exp
Normal 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
|
20
test/lib/completions/wtf.exp
Normal file
20
test/lib/completions/wtf.exp
Normal 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
|
Loading…
x
Reference in New Issue
Block a user