Skip to content

Commit

Permalink
tests: [fix] L1TF tests - only test for Tiger Lake+
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfu authored Aug 7, 2024
1 parent e4d0a02 commit 7e8dc49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/x86_tests/acceptance.bats
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function intel_only() {

@test "Detection [meltdown-type]: #PF-present speculation" {
intel_only
if [ $CPU_MODEL -ge 170 ]; then
if [ $CPU_MODEL -ge 140 ]; then
skip
fi
assert_violation "$fuzz_opt -t $ASM_DIR/fault_load.asm -c $CONF_DIR/l1tf-p.yaml -i 5"
Expand All @@ -152,7 +152,7 @@ function intel_only() {

@test "Detection [meltdown-type]: #PF-writable speculation" {
intel_only
if [ $CPU_MODEL -ge 170 ]; then
if [ $CPU_MODEL -ge 140 ]; then
skip
fi
assert_violation "$fuzz_opt -t $ASM_DIR/fault_rmw.asm -c $CONF_DIR/l1tf-p.yaml -i 5"
Expand Down

0 comments on commit 7e8dc49

Please sign in to comment.