adds test for docker exist

This commit is contained in:
anuragpeshne 2023-01-01 17:56:45 -08:00 committed by Chai Feng
parent 17e6047590
commit 6cdd4dfd2f

View File

@ -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
}