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-Url: http://drtracing.org/?a=commitdiff_plain;h=5db6c22c931a76866bf2b2eb17f1bd6e873cf607;p=deliverable%2Fbabeltrace.git 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 1194c20d4..a938a9d71 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; }