File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
kernel/security/integrity/ima/tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ TST_CLEANUP_CALLER="$TST_CLEANUP"
11
11
TST_CLEANUP=" ima_cleanup"
12
12
TST_NEEDS_ROOT=1
13
13
TST_MOUNT_DEVICE=1
14
+ TST_SKIP_LSM_WARNINGS=1
14
15
15
16
# TST_MOUNT_DEVICE can be unset, therefore specify explicitly
16
17
TST_NEEDS_TMPDIR=1
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# SPDX-License-Identifier: GPL-2.0-or-later
3
- # Copyright (c) Linux Test Project, 2014-2022
3
+ # Copyright (c) Linux Test Project, 2014-2025
4
4
# Author: Cyril Hrubis <[email protected] >
5
5
#
6
6
# LTP test library for shell.
@@ -81,7 +81,7 @@ _tst_do_exit()
81
81
fi
82
82
83
83
if [ $TST_BROK -gt 0 -o $TST_FAIL -gt 0 -o $TST_WARN -gt 0 ]; then
84
- _tst_check_security_modules
84
+ [ -z " $TST_SKIP_LSM_WARNINGS " ] && _tst_check_security_modules
85
85
fi
86
86
87
87
cat >&2 << EOF
You can’t perform that action at this time.
0 commit comments