From c8bd77645ac5d34ac80c0b76da0d9582cb19f2ed Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 13 Apr 2018 00:04:05 -0400 Subject: testing/softhsm: fix test failure on x86 The conversion of an int to long long for some reason caused this test failure. Why this is not also a problem on x86_64 is still a mystery to me. --- testing/softhsm/fix-objstoretest.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/softhsm/fix-objstoretest.patch (limited to 'testing/softhsm/fix-objstoretest.patch') diff --git a/testing/softhsm/fix-objstoretest.patch b/testing/softhsm/fix-objstoretest.patch new file mode 100644 index 0000000000..aa0ac6c305 --- /dev/null +++ b/testing/softhsm/fix-objstoretest.patch @@ -0,0 +1,13 @@ +diff --git a/src/lib/object_store/test/DBTests.cpp b/src/lib/object_store/test/DBTests.cpp +index d787a83..0e68358 100644 +--- a/src/lib/object_store/test/DBTests.cpp ++++ b/src/lib/object_store/test/DBTests.cpp +@@ -348,7 +348,7 @@ void test_a_db_with_a_connection_with_tables::can_update_integer_attribute_bound + + // insert integer attribute + statement = connection->prepare( +- "insert into attribute_integer (value,type,object_id) values (%lld,%d,%lld)", ++ "insert into attribute_integer (value,type,object_id) values (%d,%d,%lld)", + 1111, + 1235, + object_id); -- cgit v1.2.3