[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/21] tests/qtest/cxl-test: Remove temporary directories after te
From: |
Thomas Huth |
Subject: |
[PULL 09/21] tests/qtest/cxl-test: Remove temporary directories after testing |
Date: |
Fri, 28 Oct 2022 15:22:52 +0200 |
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>
---
tests/qtest/cxl-test.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/qtest/cxl-test.c b/tests/qtest/cxl-test.c
index cbe0fb549b..61f25a72b6 100644
--- a/tests/qtest/cxl-test.c
+++ b/tests/qtest/cxl-test.c
@@ -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 */
--
2.31.1
- [PULL 00/21] s390x and qtest patches, Thomas Huth, 2022/10/28
- [PULL 04/21] tests/tcg/s390x: Test compiler flags only once, not every time, Thomas Huth, 2022/10/28
- [PULL 03/21] s390x/tod-kvm: don't save/restore the TOD in PV guests, Thomas Huth, 2022/10/28
- [PULL 05/21] target/s390x: Fix emulation of the VISTR instruction, Thomas Huth, 2022/10/28
- [PULL 02/21] s390x: step down as general arch maintainer, Thomas Huth, 2022/10/28
- [PULL 07/21] MAINTAINERS: target/s390x/: add Ilya as reviewer, Thomas Huth, 2022/10/28
- [PULL 01/21] s390x/pv: remove semicolon from macro definition, Thomas Huth, 2022/10/28
- [PULL 06/21] tests/tcg/s390x: Add a test for the vistr instruction, Thomas Huth, 2022/10/28
- [PULL 09/21] tests/qtest/cxl-test: Remove temporary directories after testing,
Thomas Huth <=
- [PULL 08/21] tests/qtest/tpm: Clean up remainders of swtpm, Thomas Huth, 2022/10/28
- [PULL 12/21] tests: Add sndio to the FreeBSD CI containers / VM, Thomas Huth, 2022/10/28
- [PULL 15/21] tests/qtest: Support libqtest to build and run on Windows, Thomas Huth, 2022/10/28
- [PULL 10/21] tests/qtest/libqos/e1000e: Use e1000_regs.h, Thomas Huth, 2022/10/28
- [PULL 13/21] accel/qtest: Support qtest accelerator for Windows, Thomas Huth, 2022/10/28
- [PULL 16/21] tests/qtest: device-plug-test: Reverse the usage of double/single quotes, Thomas Huth, 2022/10/28
- [PULL 11/21] tests/vm: update openbsd to release 7.2, Thomas Huth, 2022/10/28
- [PULL 14/21] tests/qtest: Use send/recv for socket communication, Thomas Huth, 2022/10/28
- [PULL 18/21] tests/qtest: libqtest: Introduce qtest_wait_qemu(), Thomas Huth, 2022/10/28
- [PULL 19/21] tests/qtest: migration-test: Make sure QEMU process "to" exited after migration is canceled, Thomas Huth, 2022/10/28