summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-12 11:50:16 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-12 11:50:16 +0100
commit6259030484be3e11c1d8accf943fd5411cb0d7bb (patch)
tree3d3cfba0a4a1bf846f28cd53e84e1d15bdf4edd6
parent399db9dc495c0846b79c19775e944c3b08e1cf81 (diff)
downloadabrt-6259030484be3e11c1d8accf943fd5411cb0d7bb.tar.gz
abrt-6259030484be3e11c1d8accf943fd5411cb0d7bb.tar.xz
abrt-6259030484be3e11c1d8accf943fd5411cb0d7bb.zip
updated test
-rw-r--r--lib/MiddleWare/test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/MiddleWare/test.cpp b/lib/MiddleWare/test.cpp
index 77b671a9..57c55068 100644
--- a/lib/MiddleWare/test.cpp
+++ b/lib/MiddleWare/test.cpp
@@ -39,7 +39,9 @@ int main(int argc, char** argv)
CDebugDump dd;
char pid[100];
sprintf(pid, "%d", getpid());
- dd.Create(std::string(DEBUG_DUMPS_DIR)+"/"+pid, pid);
+ dd.Create(std::string(DEBUG_DUMPS_DIR)+"/"+pid);
+ dd.SaveProc(pid);
+ dd.SavePackage();
dd.SaveText(FILENAME_LANGUAGE, "CCpp");
dd.SaveBinary(FILENAME_BINARYDATA1, "ass0-9as", sizeof("ass0-9as"));