From 7089db0bd0da4f54c24c9e75d71e6107a4752e9d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 25 Apr 2023 16:49:17 +0200 Subject: [PATCH] Remove the workdir in each test run Ensures the scripts are also rebuilt. --- test/ovni-driver.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/ovni-driver.sh b/test/ovni-driver.sh index d144464..41ddf84 100755 --- a/test/ovni-driver.sh +++ b/test/ovni-driver.sh @@ -15,11 +15,10 @@ tracedir="${workdir}/ovni" emubin="${OVNI_BUILD_DIR}/ovniemu" sortbin="${OVNI_BUILD_DIR}/ovnisort" +rm -rf "${workdir}" mkdir -p "${workdir}" cd "${workdir}" -rm -rf "$tracedir" - if [ -z "$OVNI_NPROCS" ]; then OVNI_NPROCS=1 fi