From a9250406f0889b9e6ae584dc9eae67cba3404e39 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Mon, 1 Dec 2025 15:09:31 +0100 Subject: [PATCH] tests: fix cleanup The cleanup routine cleared the variable holding the temp dir name before it was deleted, so it wasn't deleted. This commit first deletes the temp folder, and clears the variable afterwards. Signed-off-by: Gyorgy Sarvari --- tests/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run b/tests/run index 2a0b493..123b50d 100755 --- a/tests/run +++ b/tests/run @@ -2,8 +2,8 @@ d= cleanup() { if [ -n "$d" ]; then - d= rm -rf "$d" + d= fi } trap cleanup EXIT