testsuite: Add basic slackpkg test case
This commit is contained in:
parent
7889a6682f
commit
e82fef047a
1
test/completion/slackpkg.exp
Normal file
1
test/completion/slackpkg.exp
Normal file
@ -0,0 +1 @@
|
|||||||
|
assert_source_completions slackpkg
|
20
test/lib/completions/slackpkg.exp
Normal file
20
test/lib/completions/slackpkg.exp
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
proc setup {} {
|
||||||
|
save_env
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
proc teardown {} {
|
||||||
|
assert_env_unmodified
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
|
||||||
|
assert_complete_any "slackpkg -"
|
||||||
|
|
||||||
|
|
||||||
|
sync_after_int
|
||||||
|
|
||||||
|
|
||||||
|
teardown
|
Loading…
x
Reference in New Issue
Block a user