mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
Compare commits
No commits in common. "ff26d67f25be60fc2d82a01710ee14570b2cb9db" and "5c42b8ad5f367e2988b9889171e9ec4f11f446e0" have entirely different histories.
ff26d67f25
...
5c42b8ad5f
1 changed files with 5 additions and 7 deletions
|
@ -9,11 +9,9 @@
|
|||
|
||||
version='1.6.0'
|
||||
|
||||
LIBEXEC="." # Distributions can change this to /usr/libexec or similar.
|
||||
|
||||
# Load dependencies
|
||||
. $LIBEXEC/functions/functions_lib.sh
|
||||
. $LIBEXEC/functions/helper_lib.sh
|
||||
. ./functions/functions_lib.sh
|
||||
. ./functions/helper_lib.sh
|
||||
|
||||
# Setup the paths
|
||||
this_path=$(abspath "$0") ## Path of this file including filename
|
||||
|
@ -101,7 +99,7 @@ do
|
|||
done
|
||||
|
||||
# Load output formating
|
||||
. $LIBEXEC/functions/output_lib.sh
|
||||
. ./functions/output_lib.sh
|
||||
|
||||
yell_info
|
||||
|
||||
|
@ -163,8 +161,8 @@ main () {
|
|||
images=$(docker images -q $LABELS| grep -v "$benchcont")
|
||||
fi
|
||||
|
||||
for test in $LIBEXEC/tests/*.sh; do
|
||||
. "$test"
|
||||
for test in tests/*.sh; do
|
||||
. ./"$test"
|
||||
done
|
||||
|
||||
if [ -z "$check" ] && [ ! "$checkexclude" ]; then
|
||||
|
|
Loading…
Reference in a new issue