mirror of
https://github.com/sascha-hemi/ufw-docker.git
synced 2026-03-20 23:04:24 +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() {
|
||||
ufw-docker status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user