Skip to content

Commit 7f962bd

Browse files
committed
export GHE_REMOTE_VERSION in test to appease shellcheck
1 parent 1e61ea0 commit 7f962bd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/test-ghe-backup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ begin_test "ghe-backup takes backup of encrypted column encryption keying materi
580580

581581
# GHES version 3.7.0
582582
GHE_REMOTE_VERSION=3.7.0
583+
export GHE_REMOTE_VERSION
583584

584585
ghe-backup
585586

@@ -593,6 +594,7 @@ begin_test "ghe-backup takes backup of encrypted column encryption keying materi
593594

594595
# GHES version 3.8.0
595596
GHE_REMOTE_VERSION=3.8.0
597+
export GHE_REMOTE_VERSION
596598

597599
ghe-backup
598600

@@ -632,6 +634,7 @@ begin_test "ghe-backup takes backup of encrypted column current encryption key f
632634

633635
# GHES version 3.8.0
634636
GHE_REMOTE_VERSION=3.8.0
637+
export GHE_REMOTE_VERSION
635638

636639
ghe-backup
637640

@@ -645,6 +648,7 @@ begin_test "ghe-backup takes backup of encrypted column current encryption key f
645648

646649
# GHES version 3.9.0
647650
GHE_REMOTE_VERSION=3.9.0
651+
export GHE_REMOTE_VERSION
648652

649653
ghe-backup
650654

test/test-ghe-restore.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ begin_test "ghe-restore with encrypted column encryption keying material for ver
308308

309309
# GHES version 3.7.0
310310
GHE_REMOTE_VERSION=3.7.0
311+
export GHE_REMOTE_VERSION
311312

312313
ghe-restore -v -f localhost
313314
required_secrets=(
@@ -320,6 +321,7 @@ begin_test "ghe-restore with encrypted column encryption keying material for ver
320321

321322
# GHES version 3.8.0
322323
GHE_REMOTE_VERSION=3.8.0
324+
export GHE_REMOTE_VERSION
323325

324326
ghe-restore -v -f localhost
325327
required_secrets=(
@@ -360,6 +362,7 @@ begin_test "ghe-restore with encrypted column current encryption key for version
360362

361363
# GHES version 3.8.0
362364
GHE_REMOTE_VERSION=3.8.0
365+
export GHE_REMOTE_VERSION
363366

364367
ghe-restore -v -f localhost
365368
required_secrets=(
@@ -373,6 +376,7 @@ begin_test "ghe-restore with encrypted column current encryption key for version
373376

374377
# GHES version 3.9.0
375378
GHE_REMOTE_VERSION=3.9.0
379+
export GHE_REMOTE_VERSION
376380

377381
ghe-restore -v -f localhost
378382
required_secrets=(

0 commit comments

Comments
 (0)