adds test for docker exist
This commit is contained in:
parent
17e6047590
commit
6cdd4dfd2f
@ -101,6 +101,17 @@ test-ufw-is-disabled-assert() {
|
||||
}
|
||||
|
||||
|
||||
test-docker-is-installed() {
|
||||
@mockfalse docker -v
|
||||
|
||||
ufw-docker
|
||||
}
|
||||
test-docker-is-installed-assert() {
|
||||
die "Docker executable not found."
|
||||
ufw-docker--help
|
||||
}
|
||||
|
||||
|
||||
test-ufw-docker-status() {
|
||||
ufw-docker status
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user