mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-06-28 06:56:13 +02:00
Add Bach Testing Framework and several basic test cases
This commit is contained in:
parent
05006bf638
commit
df963fdb31
4 changed files with 207 additions and 0 deletions
|
@ -382,6 +382,8 @@ function die() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
# __main__
|
||||
|
||||
if ! ufw status 2>/dev/null | grep -Fq "Status: active" ; then
|
||||
die "UFW is disabled or you are not root user."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue