Skip to content

Commit

Permalink
adds test for docker exist
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragpeshne authored and chaifeng committed Feb 21, 2023
1 parent 17e6047 commit 6cdd4df
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/ufw-docker.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6cdd4df

Please sign in to comment.