From 380e46f0daeb4993a22a1b569773ed1f5873415b Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Tue, 3 Jan 2023 21:38:22 +0100 Subject: [PATCH] fix removal of temp dir on destruct --- test-src/integration/webfuse/test/tempdir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-src/integration/webfuse/test/tempdir.cpp b/test-src/integration/webfuse/test/tempdir.cpp index 760b7dd..33701b6 100644 --- a/test-src/integration/webfuse/test/tempdir.cpp +++ b/test-src/integration/webfuse/test/tempdir.cpp @@ -12,7 +12,7 @@ tempdir::tempdir() tempdir::~tempdir() { - unlink(path.c_str()); + rmdir(path.c_str()); } std::string const & tempdir::name() const