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 #1

Updated by llzhao over 4 years ago

For the above weird issue I have opened a bug to track:
Bug 1159791 - SLE15 SP2 "#setfattr -x security.ima" removes both "security.ima" and "security.evm"
(https://bugzilla.suse.com/show_bug.cgi?id=1159791)

Actions #2

Updated by llzhao over 4 years ago

  • Status changed from New to Resolved
  • Estimated time set to 16.00 h
Actions

Also available in: Atom PDF