From f8a9c031ff6c0d543318e0f88be48e945d115514 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 6 Jun 2018 15:18:03 +0200 Subject: Remove tests for specific firmware versions The firmware version is too volatile to restrict it to certain values. Therefore, we only check that there is a non-zero version number instead of expecting specific values. --- src/tests/device.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tests/device.rs b/src/tests/device.rs index 6f88bf5..68f1a39 100644 --- a/src/tests/device.rs +++ b/src/tests/device.rs @@ -67,12 +67,11 @@ fn get_serial_number() { } #[test] #[cfg_attr(not(feature = "test-pro"), ignore)] -// TODO: adapt for storage fn get_firmware_version() { let device = Target::connect().unwrap(); assert_eq!(0, device.get_major_firmware_version()); let minor = device.get_minor_firmware_version(); - assert!(minor == 7 || minor == 8); + assert!(minor > 0); } fn admin_retry(device: T, suffix: &str, count: u8) -> T { -- cgit v1.2.3