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:
parent
daa8bb57db
commit
73df4f9227
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user