mirror of
https://github.com/sascha-hemi/ufw-docker.git
synced 2026-03-21 02:04:32 +01:00
adds test for docker exist
This commit is contained in:
@@ -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() {
|
test-ufw-docker-status() {
|
||||||
ufw-docker status
|
ufw-docker status
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user