From b779e16d893bebfea8d5f37d0dbb5c36d95a1c91 Mon Sep 17 00:00:00 2001 From: Jules Clero Date: Wed, 11 Feb 2015 09:32:10 +0100 Subject: Fix tRAW test comparison error This test is comparing lower case hexadecimal to upper case hexadecimal number. The test was failing because 0xFF is not 0xff when we compare string. As 0xff is read back from filesystem, we now compare it to the right value. Signed-off-by: Jules Clero --- test/functional-tests/PfwTestCase/Types/tRAW.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional-tests/PfwTestCase/Types/tRAW.py b/test/functional-tests/PfwTestCase/Types/tRAW.py index 6c96bfa..8153c32 100644 --- a/test/functional-tests/PfwTestCase/Types/tRAW.py +++ b/test/functional-tests/PfwTestCase/Types/tRAW.py @@ -201,7 +201,8 @@ class TestCases(PfwTestCase): """ log.D(self.test_03_WRaw_RHex_Nominal_Case.__doc__) value = "0xFF00" - filesystem_value = "0xFF00" + # When read back, parameter value will be in lowercase + filesystem_value = "0xff00" blackboard_value = "0xFF00" value_space = "raw" outputraw_format = "hex" -- cgit v1.1