From e1cbcb108a765e5f17f35301828c5c6705288116 Mon Sep 17 00:00:00 2001 From: aviramd Date: Mon, 25 Nov 2024 19:21:38 +0000 Subject: [PATCH] Fix compliation error, set gdb dump file path --- unittest/proxylib/TestSai.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unittest/proxylib/TestSai.cpp b/unittest/proxylib/TestSai.cpp index 983adecdb..21f79a6b4 100644 --- a/unittest/proxylib/TestSai.cpp +++ b/unittest/proxylib/TestSai.cpp @@ -382,7 +382,9 @@ TEST(Sai, dbgGenerateDump) const std::string filePath = "/var/log/testDump.log"; - EXPECT_EQ(SAI_STATUS_SUCCESS, sai.dbgGenerateDump(filePath.c_str())); + auto status = sai.dbgGenerateDump(filePath.c_str()); + + EXPECT_EQ(status, SAI_STATUS_SUCCESS); proxy->stop();