diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-01 04:09:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-01 04:09:40 +0000 |
commit | 256f011d2f256c8c2c05c37a518401199fa423bf (patch) | |
tree | 8dc9f04b281a2a8d080f0f327d11f33846be8e33 /test | |
parent | Releasing debian version 4.2+20230508-7. (diff) | |
download | mdadm-256f011d2f256c8c2c05c37a518401199fa423bf.tar.xz mdadm-256f011d2f256c8c2c05c37a518401199fa423bf.zip |
Merging upstream version 4.2+20231026.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -107,8 +107,12 @@ do_test() { echo -ne "$_script... " if ( set -ex ; . $_script ) &> $targetdir/log then - dmesg | grep -iq "error\|call trace\|segfault" && - die "dmesg prints errors when testing $_basename!" + if [ -f "${_script}.inject_error" ]; then + echo "dmesg checking is skipped because test inject error" + else + dmesg | grep -iq "error\|call trace\|segfault" && + die "dmesg prints errors when testing $_basename!" + fi echo "succeeded" _fail=0 else |