Skip to content

Commit

Permalink
[tests/bats] Fix raspberrypi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Dec 14, 2023
1 parent 5c8f41c commit e9fba47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/bats/raspberrypi.bats
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function setup() {

@test "function_is_raspeberrypi_soc_detected" {
echo "Raspberry Pi 4 Model B Rev 1.5" >"$DT_FILE"
run touch "$I2C_DEVICE"
is_raspeberrypi_soc
assert_equal "$RASPBERRYPI_MODEL" "Raspberry Pi 4 Model B Rev 1.5"
}
Expand Down

0 comments on commit e9fba47

Please sign in to comment.