diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-06-19 15:51:01 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-06-19 23:55:36 +0530 |
commit | ba8de42135766deab2125a784a89d3e51bc2e194 (patch) | |
tree | c3f824a8fda26550eb1da81f9cd00abf034b37c2 /test | |
parent | e3b859ca45f17386257fa4e506acd266a18f1aa3 (diff) | |
download | phosphor-gpio-monitor-ba8de42135766deab2125a784a89d3e51bc2e194.tar.gz phosphor-gpio-monitor-ba8de42135766deab2125a784a89d3e51bc2e194.zip |
Fix incorrect initialization of evdev
Fixes openbmc/openbmc#1799
Change-Id: I81662ede88d1a05db48686ec57aab969c8dea27a
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/utest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utest.cpp b/test/utest.cpp index 78e1b7e..3728244 100644 --- a/test/utest.cpp +++ b/test/utest.cpp @@ -70,7 +70,7 @@ TEST_F(GpioTest, noEventIn3Seconds) const std::string emptyTarget = ""; Monitor gpio(DEVICE, code, value, emptyTarget, - eventP, callbackHandler); + eventP, callbackHandler, false); // Waiting 3 seconds and check if the completion status is set int count = 0; @@ -99,7 +99,7 @@ TEST_F(GpioTest, pumpDataAndExpectCallBack) const std::string emptyTarget = ""; Monitor gpio(DEVICE, code, value, emptyTarget, - eventP, callbackHandler); + eventP, callbackHandler, false); // Pump the data in the middle int count = 0; |