Add bunch of missing basic testcases.
This commit is contained in:
parent
807ddd4105
commit
1017a085a9
1
test/completion/apache2ctl.exp
Normal file
1
test/completion/apache2ctl.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions apache2ctl
|
1
test/completion/autorpm.exp
Normal file
1
test/completion/autorpm.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions autorpm
|
1
test/completion/brctl.exp
Normal file
1
test/completion/brctl.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions brctl
|
1
test/completion/chsh.exp
Normal file
1
test/completion/chsh.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions chsh
|
1
test/completion/cowsay.exp
Normal file
1
test/completion/cowsay.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions cowsay
|
1
test/completion/jar.exp
Normal file
1
test/completion/jar.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions jar
|
1
test/completion/lzop.exp
Normal file
1
test/completion/lzop.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions lzop
|
20
test/lib/completions/apache2ctl.exp
Normal file
20
test/lib/completions/apache2ctl.exp
Normal 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
|
20
test/lib/completions/autorpm.exp
Normal file
20
test/lib/completions/autorpm.exp
Normal 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
|
20
test/lib/completions/brctl.exp
Normal file
20
test/lib/completions/brctl.exp
Normal 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
|
20
test/lib/completions/chsh.exp
Normal file
20
test/lib/completions/chsh.exp
Normal 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
|
20
test/lib/completions/cowsay.exp
Normal file
20
test/lib/completions/cowsay.exp
Normal 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
|
20
test/lib/completions/jar.exp
Normal file
20
test/lib/completions/jar.exp
Normal 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
|
20
test/lib/completions/lzop.exp
Normal file
20
test/lib/completions/lzop.exp
Normal 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
|
Loading…
x
Reference in New Issue
Block a user