testsuite: Add basic grpck, passwd, and pwck test cases.
This commit is contained in:
parent
e1cc0e178b
commit
0a40e980cb
1
test/completion/grpck.exp
Normal file
1
test/completion/grpck.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions grpck
|
1
test/completion/passwd.exp
Normal file
1
test/completion/passwd.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions passwd
|
1
test/completion/pwck.exp
Normal file
1
test/completion/pwck.exp
Normal file
@ -0,0 +1 @@
|
||||
assert_source_completions pwck
|
20
test/lib/completions/grpck.exp
Normal file
20
test/lib/completions/grpck.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "grpck "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/passwd.exp
Normal file
20
test/lib/completions/passwd.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "passwd "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
20
test/lib/completions/pwck.exp
Normal file
20
test/lib/completions/pwck.exp
Normal file
@ -0,0 +1,20 @@
|
||||
proc setup {} {
|
||||
save_env
|
||||
}
|
||||
|
||||
|
||||
proc teardown {} {
|
||||
assert_env_unmodified
|
||||
}
|
||||
|
||||
|
||||
setup
|
||||
|
||||
|
||||
assert_complete_any "pwck "
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
teardown
|
Loading…
x
Reference in New Issue
Block a user