mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 06:45:06 -05:00
test: modify order of scfilter levels in system tests
Start with positive levels to get the offending system calls in the system or audit log.
This commit is contained in:
@@ -6,7 +6,7 @@ check_chronyd_features SCFILTER || test_skip "SCFILTER support disabled"
|
||||
|
||||
test_start "system call filter in non-destructive tests"
|
||||
|
||||
for level in "-1" "1" "-2" "2"; do
|
||||
for level in 1 2 -1 -2; do
|
||||
test_message 1 1 "level $level:"
|
||||
for test in 0[0-8][0-9]-*[^_]; do
|
||||
test_message 2 0 "$test"
|
||||
|
||||
@@ -6,7 +6,7 @@ check_chronyd_features SCFILTER || test_skip "SCFILTER support disabled"
|
||||
|
||||
test_start "system call filter in destructive tests"
|
||||
|
||||
for level in "-1" "1" "-2" "2"; do
|
||||
for level in 1 2 -1 -2; do
|
||||
test_message 1 1 "level $level:"
|
||||
for test in 1[0-8][0-9]-*[^_]; do
|
||||
test_message 2 0 "$test"
|
||||
|
||||
Reference in New Issue
Block a user