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:
parent
5184fe01c4
commit
0886ea31be
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue