aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-05-05 09:54:36 -0600
committerJens Axboe <axboe@kernel.dk>2024-05-05 09:54:36 -0600
commitcc61897b928e90c4391e0d6390933dbc9088d98f (patch)
treede8957b193ebc5cba2192354bdb7d2ecc5fd663f
parenteaaf471cbfd18123163973ac3b8ff5cb7bd1c281 (diff)
parent20e99f6a6cb5916fcc96c05dc71804a811deeddf (diff)
downloadliburing-upstream-master.tar.gz
Merge branch 'pu/test-clean' of https://github.com/guillemj/liburingupstream-master
* 'pu/test-clean' of https://github.com/guillemj/liburing: test: Remove the coredump if coredump.t managed to generate one
-rw-r--r--test/coredump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/coredump.c b/test/coredump.c
index d833900..17b6ab9 100644
--- a/test/coredump.c
+++ b/test/coredump.c
@@ -55,5 +55,6 @@ int main(int argc, char *argv[])
}
wait(&wstat);
+ unlink("core");
return T_EXIT_PASS;
}