testsuite: Add bunch of basic postfix test cases.
This commit is contained in:
parent
8eec0ecf52
commit
4e070e40a4
1
test/completion/postcat.exp
Normal file
1
test/completion/postcat.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions postcat
|
1
test/completion/postconf.exp
Normal file
1
test/completion/postconf.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions postconf
|
1
test/completion/postfix.exp
Normal file
1
test/completion/postfix.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions postfix
|
1
test/completion/postmap.exp
Normal file
1
test/completion/postmap.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions postmap
|
1
test/completion/postsuper.exp
Normal file
1
test/completion/postsuper.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions postsuper
|
20
test/lib/completions/postcat.exp
Normal file
20
test/lib/completions/postcat.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "postcat "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/postconf.exp
Normal file
20
test/lib/completions/postconf.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "postconf p"
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/postfix.exp
Normal file
20
test/lib/completions/postfix.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "postfix "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/postmap.exp
Normal file
20
test/lib/completions/postmap.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "postmap "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/postsuper.exp
Normal file
20
test/lib/completions/postsuper.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "postsuper "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
Loading…
x
Reference in New Issue
Block a user