diff options
author | Thomas Huth <thuth@redhat.com> | 2023-06-22 13:41:32 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-06-26 09:01:33 +0200 |
commit | b197ea8636a18b0e2968b00c3a392bfc641b51a0 (patch) | |
tree | b078f8a91f815421af64e9cb620693a7ce4e1206 | |
parent | 81a12315ade028ae356e8f2e264344b537a9715b (diff) | |
download | qemu-b197ea8636a18b0e2968b00c3a392bfc641b51a0.zip qemu-b197ea8636a18b0e2968b00c3a392bfc641b51a0.tar.gz qemu-b197ea8636a18b0e2968b00c3a392bfc641b51a0.tar.bz2 |
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>
-rw-r--r-- | tests/qtest/cxl-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qtest/cxl-test.c b/tests/qtest/cxl-test.c index edcad4a..a600331 100644 --- a/tests/qtest/cxl-test.c +++ b/tests/qtest/cxl-test.c @@ -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) |