Add bunch of missing basic testcases.

master
Ville Skyttä 2010-04-21 19:20:35 +03:00
parent 807ddd4105
commit 1017a085a9
14 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1 @@
assert_source_completions apache2ctl

View File

@ -0,0 +1 @@
assert_source_completions autorpm

View File

@ -0,0 +1 @@
assert_source_completions brctl

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

@ -0,0 +1 @@
assert_source_completions chsh

View File

@ -0,0 +1 @@
assert_source_completions cowsay

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

@ -0,0 +1 @@
assert_source_completions jar

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

@ -0,0 +1 @@
assert_source_completions lzop

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
assert_complete_any "apache2ctl "
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 "autorpm "
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 "brctl "
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 "chsh "
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 "cowsay "
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 "jar "
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 "lzop "
sync_after_int
teardown