summaryrefslogtreecommitdiffstats
path: root/keymaster/4.0
diff options
context:
space:
mode:
authorGarret Kelly <gdk@google.com>2019-05-03 15:41:31 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-05-03 15:41:31 -0700
commit5b6d16c9ddffea9ca044a1caa14be5332094c1b7 (patch)
tree5951e58efa6c301b1c6ecc38112f3f50e9c3d50f /keymaster/4.0
parentf9e2ec1bc34d632ed955eff12be84e96fd1edd82 (diff)
parent282c8d0694bacf095db4053909936585db9f54c0 (diff)
downloadplatform_hardware_interfaces-5b6d16c9ddffea9ca044a1caa14be5332094c1b7.tar.gz
platform_hardware_interfaces-5b6d16c9ddffea9ca044a1caa14be5332094c1b7.tar.bz2
platform_hardware_interfaces-5b6d16c9ddffea9ca044a1caa14be5332094c1b7.zip
Merge "Make test expectation match comment" into qt-dev
am: 282c8d0694 Change-Id: I47b9aeff0fcf7798ebcc900040771d95bdc91b5b
Diffstat (limited to 'keymaster/4.0')
-rw-r--r--keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
index cf12e2a4b5..3d37e9fb82 100644
--- a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
+++ b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
@@ -371,7 +371,7 @@ bool verify_attestation_record(const string& challenge, const string& app_id,
strptime(date.c_str(), "%Y-%m-%d", &time);
// Day of the month (0-31)
- EXPECT_GT(time.tm_mday, 0);
+ EXPECT_GE(time.tm_mday, 0);
EXPECT_LT(time.tm_mday, 32);
// Months since Jan (0-11)
EXPECT_GE(time.tm_mon, 0);