testsuite: Add bunch of basic postfix test cases.

This commit is contained in:
Ville Skyttä 2011-05-15 15:11:01 +03:00
parent 8eec0ecf52
commit 4e070e40a4
10 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1 @@
assert_source_completions postcat

View File

@ -0,0 +1 @@
assert_source_completions postconf

View File

@ -0,0 +1 @@
assert_source_completions postfix

View File

@ -0,0 +1 @@
assert_source_completions postmap

View File

@ -0,0 +1 @@
assert_source_completions postsuper

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "postcat "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "postconf p"
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "postfix "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "postmap "
sync_after_int
teardown

View File

@ -0,0 +1,20 @@
proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "postsuper "
sync_after_int
teardown