From: Jérémie Galarneau Date: Thu, 12 Feb 2015 20:50:42 +0000 (-0500) Subject: CTF-Writer tests: Delete trace after test X-Git-Tag: v2.0.0-pre1~1410 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=5db6c22c931a76866bf2b2eb17f1bd6e873cf607 CTF-Writer tests: Delete trace after test Signed-off-by: Jérémie Galarneau --- diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index 1194c20d..a938a9d7 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -2010,7 +2010,6 @@ int main(int argc, char **argv) free(metadata_string); /* Remove all trace files and delete temporary trace directory */ - /* DIR *trace_dir = opendir(trace_path); if (!trace_dir) { perror("# opendir"); @@ -2026,6 +2025,5 @@ int main(int argc, char **argv) rmdir(trace_path); closedir(trace_dir); - */ return 0; }