We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1cbbc commit 1532d68Copy full SHA for 1532d68
test/test-ghe-backup-config.sh
@@ -19,13 +19,13 @@ begin_test "ghe-backup-config GHE_CREATE_DATA_DIR disabled"
19
(
20
set -e
21
22
- export GHE_DATA_DIR=$(mktemp -d -u)
+ export GHE_DATA_DIR="$TRASHDIR/create-enabled-data"
23
. share/github-backup-utils/ghe-backup-config 2>&1 \
24
| grep -q "Creating the backup data directory ..."
25
test -d $GHE_DATA_DIR
26
rm -rf $GHE_DATA_DIR
27
28
+ export GHE_DATA_DIR="$TRASHDIR/create-disabled-data"
29
export GHE_CREATE_DATA_DIR=no
30
set +e
31
error=$(. share/github-backup-utils/ghe-backup-config 2>&1)
0 commit comments