CTF-Writer tests: Delete trace after test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Feb 2015 20:50:42 +0000 (15:50 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Feb 2015 20:50:42 +0000 (15:50 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test_ctf_writer.c

index 1194c20d4bba809cbfc7dab1be19a5dcc12940c4..a938a9d719d4bebbd60f19153d6fbef3caca72e2 100644 (file)
@@ -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;
 }
This page took 0.025754 seconds and 5 git commands to generate.