Tweak a couple of test-harness tests to exclude variable properties like access time, since tests aren't interested in that behavior.

This commit is contained in:
Brian Cox 2017-08-31 21:44:24 -07:00
parent 5184fe01c4
commit 0886ea31be
2 changed files with 6 additions and 6 deletions

View File

@ -35,12 +35,12 @@ sub PolicyFileString
#
(rulename="RuleA", severity=30, emailto="elvis@mars")
{
$root -> \$(ReadOnly)+S; #read only plus SHA-1
$root -> \$(ReadOnly) +S -ab; #read only plus SHA-1 minus atime & blocks
}
(rulename="RuleB", severity=200, emailto="elvis@mars")
{
$root2 -> \$(ReadOnly)+S; #read only plus SHA-1
$root2 -> \$(ReadOnly) +S -ab; #read only plus SHA-1 minus atime & blocks
}
POLICY_END

View File

@ -31,8 +31,8 @@ sub PolicyFileString
return <<POLICY_END;
# Policy file generated by polupdate test
#
$root1 -> \$(ReadOnly)+M; #read only plus MD5
$root2 -> \$(ReadOnly)+M; #read only plus MD5
$root1 -> \$(ReadOnly) +M -ab; #read only plus MD5 minus atime & blocks
$root2 -> \$(ReadOnly) +M -ab; #read only plus MD5 minus atime & blocks
POLICY_END
@ -46,8 +46,8 @@ sub PolicyFileStringNew
return <<POLICY_END;
# Policy file generated by polupdate test
#
$root1 -> \$(ReadOnly)+S; #read only plus SHA1
$root3 -> \$(ReadOnly)+S; #read only plus SHA1
$root1 -> \$(ReadOnly) +S -ab; #read only plus SHA1 minus atime & blocks
$root3 -> \$(ReadOnly) +S -ab; #read only plus SHA1 minus atime & blocks
POLICY_END