@@ -72,9 +72,9 @@ MBO003.001 Changing Secure Boot certificate changes only PCR-7
72
72
${pcr } ${hash } = Split String ${pcr_hash } separator=:
73
73
${new_hash } = Execute Command In Terminal cat ${pcr }
74
74
IF '/7' in '${pcr } '
75
- Should Not Be Equal ${ hash } ${new_hash }
75
+ Should Not Contain ${ new_hash } ${hash }
76
76
ELSE
77
- Should Be Equal ${ hash } ${new_hash }
77
+ Should Contain ${ new_hash } ${hash }
78
78
END
79
79
END
80
80
@@ -101,9 +101,9 @@ MBO004.001 Changing Dasharo network boot settings changes only PCR-1
101
101
${pcr } ${hash } = Split String ${pcr_hash } separator=:
102
102
${new_hash } = Execute Command In Terminal cat ${pcr }
103
103
IF ${{'${pcr }'.endswith('/1') } }
104
- Should Not Be Equal ${ hash } ${new_hash }
104
+ Should Not Contain ${ new_hash } ${hash }
105
105
ELSE
106
- Should Be Equal ${ hash } ${new_hash }
106
+ Should Contain ${ new_hash } ${hash }
107
107
END
108
108
END
109
109
@@ -130,9 +130,9 @@ MBO004.002 Changing Dasharo security settings changes only PCR-1
130
130
${pcr } ${hash } = Split String ${pcr_hash } separator=:
131
131
${new_hash } = Execute Command In Terminal cat ${pcr }
132
132
IF ${{'${pcr }'.endswith('/1') } }
133
- Should Not Be Equal ${ hash } ${new_hash }
133
+ Should Not Contain ${ new_hash } ${hash }
134
134
ELSE
135
- Should Be Equal ${ hash } ${new_hash }
135
+ Should Contain ${ new_hash } ${hash }
136
136
END
137
137
END
138
138
@@ -158,9 +158,9 @@ MBO004.003 Changing Dasharo APU settings changes only PCR-1
158
158
${pcr } ${hash } = Split String ${pcr_hash } separator=:
159
159
${new_hash } = Execute Command In Terminal cat ${pcr }
160
160
IF ${{'${pcr }'.endswith('/1') } }
161
- Should Not Be Equal ${ hash } ${new_hash }
161
+ Should Not Contain ${ new_hash } ${hash }
162
162
ELSE
163
- Should Be Equal ${ hash } ${new_hash }
163
+ Should Contain ${ new_hash } ${hash }
164
164
END
165
165
END
166
166
@@ -196,7 +196,7 @@ MBO005.002 Multiple reset to defaults results in identical measurements
196
196
FOR ${pcr_hash } IN @{default_hashes }
197
197
${pcr } ${hash } = Split String ${pcr_hash } separator=:
198
198
${new_hash } = Execute Command In Terminal cat ${pcr }
199
- Should Be Equal ${ hash } ${new_hash }
199
+ Should Contain ${ new_hash } ${hash }
200
200
END
201
201
202
202
MBO006.001 Identical configuration results in identical measurements
@@ -231,7 +231,7 @@ MBO006.001 Identical configuration results in identical measurements
231
231
FOR ${pcr_hash } IN @{default_hashes }
232
232
${pcr } ${hash } = Split String ${pcr_hash } separator=:
233
233
${new_hash } = Execute Command In Terminal cat ${pcr }
234
- Should Be Equal ${ hash } ${new_hash }
234
+ Should Contain ${ new_hash } ${hash }
235
235
END
236
236
237
237
MBO006.002 Identical configuration after reset results in identical measurements
@@ -265,7 +265,7 @@ MBO006.002 Identical configuration after reset results in identical measurements
265
265
FOR ${pcr_hash } IN @{default_hashes }
266
266
${pcr } ${hash } = Split String ${pcr_hash } separator=:
267
267
${new_hash } = Execute Command In Terminal cat ${pcr }
268
- Should Be Equal ${ hash } ${new_hash }
268
+ Should Contain ${ new_hash } ${hash }
269
269
END
270
270
271
271
0 commit comments