On 03/13/2018 09:52 PM, Luke Shumaker wrote: > From: Luke Shumaker <[email protected]>
> diff --git a/test/cases/db-update.bats b/test/cases/db-update.bats
> index e7e4489..2e44b91 100644
> --- a/test/cases/db-update.bats
> +++ b/test/cases/db-update.bats
> @@ -222,7 +222,7 @@ load ../lib/common
>
> @test "package has to be aregular file" {
> local p
> - local target=$(mktemp -d)
> + local target=$(mktemp -dt)
> local arches=('i686' 'x86_64')
>
> releasePackage extra 'pkg-simple-a'
> diff --git a/test/lib/common.bash b/test/lib/common.bash
> index 568a541..45e4800 100644
> --- a/test/lib/common.bash
> +++ b/test/lib/common.bash
> @@ -83,7 +83,7 @@ setup() {
> local a
> PKGEXT=".pkg.tar.xz"
>
> - TMP="$(mktemp -d)"
> + TMP="$(mktemp -dt)"
>
> export DBSCRIPTS_CONFIG=${TMP}/config.local
> cat <<eot > "${DBSCRIPTS_CONFIG}"
>
These two have no TEMPLATE given anyways, so this change is extraneous.
--
Eli Schwartz
Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
