Project

General

Profile

Actions

action #60218

closed

[sle][security][sle15sp2] test case "evm_protection_hmacs" should be revised to "remove & verify" the "security.evm" instead of "security.ima"

Added by llzhao over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-11-25
Due date:
% Done:

0%

Estimated time:
16.00 h
Difficulty:

Description

Test case "evm_protection_hmacs" should be revised to "remove & verify" the "security.evm" instead of "security.ima"

see "evm_protection_hmacs.pm":

49 # Remove security.evm attribute manually, and verify it is empty
50 assert_script_run "setfattr -x security.ima $sample_app";
51 validate_script_output "getfattr -m security.evm -d $sample_app", sub { m/^$/ };

Btw, it is weird why the test case is "PASS" with the above wrong code :(.
say: https://openqa.suse.de/tests/3591662#step/evm_protection_digital_signatures/1

Actions

Also available in: Atom PDF