mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 14:22:33 +01:00
move test configuration into separate directory
This commit is contained in:
parent
e68b554e66
commit
ff1e347fc7
4 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env bats
|
#!/usr/bin/env bats
|
||||||
|
|
||||||
load "0_config"
|
|
||||||
load "test_helper/bats-support/load"
|
load "test_helper/bats-support/load"
|
||||||
load "test_helper/bats-assert/load"
|
load "test_helper/bats-assert/load"
|
||||||
load "$BATS_TEST_DIRNAME/../helper_lib.sh"
|
load "$BATS_TEST_DIRNAME/../helper_lib.sh"
|
||||||
|
|
4
config/0_config.sh.example
Normal file
4
config/0_config.sh.example
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# trusted users that can control Docker daemon
|
||||||
|
config_trusted_users=(vagrant docker ubuntu)
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. ./generate_tests.sh
|
. ./generate_tests.sh
|
||||||
|
. ./config/0_config.sh
|
||||||
|
|
||||||
TEST_RESULTS=$BENCH_ROOT/results
|
TEST_RESULTS=$BENCH_ROOT/results
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue