OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a1231
)
tests/qtest/cxl-test: Clean up temporary directories after testing
author
Thomas Huth
<thuth@redhat.com>
Thu, 22 Jun 2023 11:41:32 +0000
(13:41 +0200)
committer
Thomas Huth
<thuth@redhat.com>
Mon, 26 Jun 2023 07:01:33 +0000
(09:01 +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
patch
|
blob
|
history
diff --git
a/tests/qtest/cxl-test.c
b/tests/qtest/cxl-test.c
index
edcad4a
..
a600331
100644
(file)
--- 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)