tests/qtest/cxl-test: Clean up temporary directories after testing
PATCH 1/1 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.
Signed-off-by Thomas Huth <[email protected]>
--- tests/qtest/cxl-test.c | 2 ++ 1 file changed, 2 insertions(+)
tests/qtest/cxl-test.c +2 -0
@@ -124,6 +124,7 @@ static void cxl_t3d_deprecated(void)qtest_start (cmdline->str);qtest_end (); +rmdir (tmpfs); }static void cxl_t3d_persistent (void )
@@ -138,6 +139,7 @@ static void cxl_t3d_persistent(void)qtest_start (cmdline->str);qtest_end (); +rmdir (tmpfs); }static void cxl_t3d_volatile (void )
Signature · 1 line
2.39.3
Quoted 4 lines · On Thu, 22 Jun 2023 13:41:32 +0200 Thomas Huth <[email protected]> wrote:
It's good style to clean up temporary directories when they are not needed anymore.
Signed-off-by Thomas Huth <[email protected]>
Acked-by Jonathan Cameron <[email protected]>
Quoted 24 lines
--- tests/qtest/cxl-test.c | 2 ++ 1 file changed, 2 insertions(+)tests/qtest/cxl-test.c +2
-0@@ -124,6 +124,7 @@ static void cxl_t3d_deprecated(void)qtest_start (cmdline->str);qtest_end (); +rmdir (tmpfs); }static void cxl_t3d_persistent (void )@@ -138,6 +139,7 @@ static void cxl_t3d_persistent(void)qtest_start (cmdline->str);qtest_end (); +rmdir (tmpfs); }static void cxl_t3d_volatile (void )