debian-cis/tests
Charles Herlin da6acb0b0c IMP(8.2.5): find multiline pattern in files (syslog)
Add func to find pattern in file that spreads over multiple lines
The func will remove commented lines (that begin with '#')
and consider the file as one long line.
Thus, this is not possible to look for pattern at beginning of line
with this func ('^' and '$')

Improved pattern in 8.2.5

Add syslog-ng to installed dependencies in Dockerfiles

Fixed multifile arguments when looking for pattern that got broken
in d2bbf754 due to "nocase" and _does_pattern_exist_in_file wrapper
Please note that you can only look for pattern in ONE FILE at once
Fixed 8.2.5 and 8.3.2 with for loop on files and 'FOUND' flag
You now need to specify each and every file to look for or embed a
'find' command as follow :
`FILES="$SYSLOG_BASEDIR/syslog-ng.conf $(find $SYSLOG_BASEDIR/conf.d/)"`

Improved test files
Applied shellcheck recommendations
2019-02-22 17:29:56 +01:00
..
docker IMP(8.2.5): find multiline pattern in files (syslog) 2019-02-22 17:29:56 +01:00
hardening IMP(8.2.5): find multiline pattern in files (syslog) 2019-02-22 17:29:56 +01:00
docker_build_and_run_tests.sh IMP: new tag in file to tell that the script should pass shellcheck 2019-01-24 11:45:31 +01:00
launch_tests.sh FIX(test): catch return values when retval differs to avoid runtime error 2019-02-15 16:44:32 +01:00
lib.sh Rename dismiss_test to skip_tests since test won't even run in this case 2019-02-15 10:43:46 +01:00
run_all_targets.sh IMP: new tag in file to tell that the script should pass shellcheck 2019-01-24 11:45:31 +01:00