[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 9/9] tests/qtest/cxl-test: Clean up temporary directories after te
From: |
Thomas Huth |
Subject: |
[PULL 9/9] tests/qtest/cxl-test: Clean up temporary directories after testing |
Date: |
Mon, 26 Jun 2023 10:14:15 +0200 |
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>
---
tests/qtest/cxl-test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qtest/cxl-test.c b/tests/qtest/cxl-test.c
index edcad4a0ce..a600331843 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)
--
2.39.3
- [PULL 0/9] Testing / CI patches, Thomas Huth, 2023/06/26
- [PULL 1/9] tests/qtest: Fix a comment typo in vhost-user-test.c, Thomas Huth, 2023/06/26
- [PULL 2/9] gitlab: centralize the container tag name, Thomas Huth, 2023/06/26
- [PULL 3/9] gitlab: allow overriding name of the upstream repository, Thomas Huth, 2023/06/26
- [PULL 9/9] tests/qtest/cxl-test: Clean up temporary directories after testing,
Thomas Huth <=
- [PULL 5/9] gitlab: avoid extra pipelines for tags and stable branches, Thomas Huth, 2023/06/26
- [PULL 4/9] gitlab: stable staging branches publish containers in a separate tag, Thomas Huth, 2023/06/26
- [PULL 7/9] gitlab-ci: grab msys2 meson-logs as artifacts, Thomas Huth, 2023/06/26
- [PULL 8/9] gitlab-ci: add msys2 meson test to junit report, Thomas Huth, 2023/06/26
- [PULL 6/9] gitlab: support disabling job auto-run in upstream, Thomas Huth, 2023/06/26
- Re: [PULL 0/9] Testing / CI patches, Richard Henderson, 2023/06/26