[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 32/86] tests/qtest/cxl-test: Remove temporary directories after te
From: |
Michael S. Tsirkin |
Subject: |
[PULL 32/86] tests/qtest/cxl-test: Remove temporary directories after testing |
Date: |
Mon, 31 Oct 2022 08:52:14 -0400 |
From: Thomas Huth <thuth@redhat.com>
The cxl-test leaves some temporary directories behind. Let's
clean them up now!
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20221012091435.893570-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.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 */
--
MST
- [PULL 17/86] MAINTAINERS: add myself as the maintainer for acpi biosbits avocado tests, (continued)
- [PULL 17/86] MAINTAINERS: add myself as the maintainer for acpi biosbits avocado tests, Michael S. Tsirkin, 2022/10/31
- [PULL 21/86] bios-tables-test: add test for number of cores > 255, Michael S. Tsirkin, 2022/10/31
- [PULL 23/86] tests/acpi: virt: allow acpi MADT and FADT changes, Michael S. Tsirkin, 2022/10/31
- [PULL 27/86] hw/pci: PCIe Data Object Exchange emulation, Michael S. Tsirkin, 2022/10/31
- [PULL 25/86] acpi: arm/virt: madt: bump to revision 4 accordingly to ACPI 6.0 Errata A, Michael S. Tsirkin, 2022/10/31
- [PULL 29/86] hw/cxl/cdat: CXL CDAT Data Object Exchange implementation, Michael S. Tsirkin, 2022/10/31
- [PULL 22/86] tests/acpi: update tables for new core count test, Michael S. Tsirkin, 2022/10/31
- [PULL 18/86] hw/smbios: add core_count2 to smbios table type 4, Michael S. Tsirkin, 2022/10/31
- [PULL 30/86] hw/mem/cxl-type3: Add CXL CDAT Data Object Exchange, Michael S. Tsirkin, 2022/10/31
- [PULL 24/86] acpi: fadt: support revision 6.0 of the ACPI specification, Michael S. Tsirkin, 2022/10/31
- [PULL 32/86] tests/qtest/cxl-test: Remove temporary directories after testing,
Michael S. Tsirkin <=
- [PULL 33/86] vhost: Change the sequence of device start, Michael S. Tsirkin, 2022/10/31
- [PULL 19/86] bios-tables-test: teach test to use smbios 3.0 tables, Michael S. Tsirkin, 2022/10/31
- [PULL 26/86] tests/acpi: virt: update ACPI MADT and FADT binaries, Michael S. Tsirkin, 2022/10/31
- [PULL 31/86] hw/pci-bridge/cxl-upstream: Add a CDAT table access DOE, Michael S. Tsirkin, 2022/10/31
- [PULL 35/86] hw/virtio/virtio-iommu-pci: Enforce the device is plugged on the root bus, Michael S. Tsirkin, 2022/10/31
- [PULL 36/86] virtio: re-order vm_running and use_started checks, Michael S. Tsirkin, 2022/10/31
- [PULL 37/86] virtio: introduce __virtio_queue_reset(), Michael S. Tsirkin, 2022/10/31
- [PULL 38/86] virtio: introduce virtio_queue_reset(), Michael S. Tsirkin, 2022/10/31
- [PULL 28/86] hw/mem/cxl-type3: Add MSIX support, Michael S. Tsirkin, 2022/10/31
- [PULL 34/86] vhost-user: Support vhost_dev_start, Michael S. Tsirkin, 2022/10/31