diff --git a/test/arguments b/test/arguments index 4bd543a..04800fc 100644 --- a/test/arguments +++ b/test/arguments @@ -2,7 +2,8 @@ # Copyright 2023, project-repo and the cagebreak contributors # SPDX-License-Identifier: MIT -testdir=$(mktemp -d) +testdir="${MESONCURRENTCONFIGDIR}/_build-arguments/" +mkdir "${testdir}" mkdir "${testdir}/arguments/" readonly helptext="Usage: ./cagebreak [OPTIONS] diff --git a/test/environment-variables b/test/environment-variables index aa67dfa..f1c9fac 100644 --- a/test/environment-variables +++ b/test/environment-variables @@ -2,7 +2,8 @@ # Copyright 2023, project-repo and the cagebreak contributors # SPDX-License-Identifier: MIT -testdir=$(mktemp -d) +testdir="${MESONCURRENTCONFIGDIR}/_build-envvars" +mkdir "${testdir}" mkdir "${testdir}/envvars/" mkdir "${testdir}/cagebreak"