Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests/qtest/cxl-test: Clean up temporary directories after testing
It's good style to clean up temporary directories when they
are not needed anymore.

Message-Id: <20230622114132.372898-1-thuth@redhat.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
huth committed Jun 26, 2023
1 parent 81a1231 commit b197ea8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/qtest/cxl-test.c
Expand Up @@ -124,6 +124,7 @@ static void cxl_t3d_deprecated(void)

qtest_start(cmdline->str);
qtest_end();
rmdir(tmpfs);
}

static void cxl_t3d_persistent(void)
Expand All @@ -138,6 +139,7 @@ static void cxl_t3d_persistent(void)

qtest_start(cmdline->str);
qtest_end();
rmdir(tmpfs);
}

static void cxl_t3d_volatile(void)
Expand Down

0 comments on commit b197ea8

Please sign in to comment.