diff options
Diffstat (limited to 'tests/regression')
-rwxr-xr-x | tests/regression | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/regression b/tests/regression index 40567d5..b2eb5ad 100755 --- a/tests/regression +++ b/tests/regression @@ -83,6 +83,7 @@ optional arguments: -s SINGLE_TEST specifies individual test number to be run -t [TEMP_DIR] specifies directory to create temporary files in -T [TEST_TYPE] only run tests matching the specified type + can also be set via LIBSECCOMP_TSTCFG_TYPE env variable -v specifies that verbose output be provided EOF } @@ -967,6 +968,9 @@ if [[ -n $runall ]]; then single_list=() fi +# check for configuration via environment variables +[[ -z $type && -n $LIBSECCOMP_TSTCFG_TYPE ]] && type=$LIBSECCOMP_TSTCFG_TYPE + # open log file for append (default to stdout) if [[ -n $logfile ]]; then logfd=3 |