testsuite: Add basic grpck, passwd, and pwck test cases.

This commit is contained in:
Ville Skyttä 2011-05-02 14:08:48 +03:00
parent e1cc0e178b
commit 0a40e980cb
6 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1 @@
assert_source_completions grpck

View File

@ -0,0 +1 @@
assert_source_completions passwd

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

@ -0,0 +1 @@
assert_source_completions pwck

View File

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

View File

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

View File

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