commit 1bf2321029cb1e21b455019c39659daea65dffc9
parent 579cb416287ce2df8d4276726a42f5fa7e778311
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 10 Jan 2025 11:36:07 +0100
tests/make: Remove target in 0098-signal and 0099-signal
Having the target in the filesystem can affect the execution of the tests.
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/make/execute/0098-signal.sh b/tests/make/execute/0098-signal.sh
@@ -10,6 +10,7 @@ cleanup()
fi
}
+rm -f file.txt
trap 'cleanup 0' EXIT
trap 'cleanup 1' INT TERM HUP
diff --git a/tests/make/execute/0099-signal.sh b/tests/make/execute/0099-signal.sh
@@ -10,6 +10,7 @@ cleanup()
fi
}
+rm -f file.txt
trap 'cleanup 0' EXIT
trap 'cleanup 1' INT TERM HUP