mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-05-10 13:38:32 +02:00
adds test for docker exist
This commit is contained in:
parent
17e6047590
commit
6cdd4dfd2f
1 changed files with 11 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue