mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
tests/qtest/cxl-test: Remove temporary directories after testing
The cxl-test leaves some temporary directories behind. Let's clean them up now! Message-Id: <20221012091435.893570-1-thuth@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
@@ -101,6 +101,7 @@ static void cxl_t3d(void)
|
||||
|
||||
qtest_start(cmdline->str);
|
||||
qtest_end();
|
||||
rmdir(tmpfs);
|
||||
}
|
||||
|
||||
static void cxl_1pxb_2rp_2t3d(void)
|
||||
@@ -115,6 +116,7 @@ static void cxl_1pxb_2rp_2t3d(void)
|
||||
|
||||
qtest_start(cmdline->str);
|
||||
qtest_end();
|
||||
rmdir(tmpfs);
|
||||
}
|
||||
|
||||
static void cxl_2pxb_4rp_4t3d(void)
|
||||
@@ -130,6 +132,7 @@ static void cxl_2pxb_4rp_4t3d(void)
|
||||
|
||||
qtest_start(cmdline->str);
|
||||
qtest_end();
|
||||
rmdir(tmpfs);
|
||||
}
|
||||
#endif /* CONFIG_POSIX */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user