Skip to content

Commit 1532d68

Browse files
committed
Remove mktemp -u invocations
1 parent 6e1cbbc commit 1532d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-ghe-backup-config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ begin_test "ghe-backup-config GHE_CREATE_DATA_DIR disabled"
1919
(
2020
set -e
2121

22-
export GHE_DATA_DIR=$(mktemp -d -u)
22+
export GHE_DATA_DIR="$TRASHDIR/create-enabled-data"
2323
. share/github-backup-utils/ghe-backup-config 2>&1 \
2424
| grep -q "Creating the backup data directory ..."
2525
test -d $GHE_DATA_DIR
2626
rm -rf $GHE_DATA_DIR
2727

28-
export GHE_DATA_DIR=$(mktemp -d -u)
28+
export GHE_DATA_DIR="$TRASHDIR/create-disabled-data"
2929
export GHE_CREATE_DATA_DIR=no
3030
set +e
3131
error=$(. share/github-backup-utils/ghe-backup-config 2>&1)

0 commit comments

Comments
 (0)