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