pgbackrest.git / summary / log / commit / refs
commit c2df383aec3960fcc8046f93089114de8043cb14
Author: David Steele <david@pgmasters.net>
Date: Sun Mar 22 18:24:28 2020 +0000
Fix missing parameter in common/stack-trace test module.
This was passing since we don't test WITH_BACKTRACE in CI because it is used only for test builds.
Ideally we would test this but it doesn't seem worth the trouble at the moment.
test/src/module/common/stackTraceTest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/src/module/common/stackTraceTest.c b/test/src/module/common/stackTraceTest.c
index d8752ccad..26baf48b3 100644
--- a/test/src/module/common/stackTraceTest.c
+++ b/test/src/module/common/stackTraceTest.c
@@ -35,7 +35,7 @@ testRun(void)
// This will call the error routine since we passed a bogus exe
assert(stackTracePush("file1.c", "function1", logLevelDebug) == logLevelDebug);
- stackTracePop("file1.c", "function1");
+ stackTracePop("file1.c", "function1", false);
backTraceState = NULL;
#endif
[parent: 8c76ea2d9392]