Skip to content

Commit bcd585b

Browse files
tests: fix issues found by shellcheck
Signed-off-by: John Mulligan <[email protected]>
1 parent 958add8 commit bcd585b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

tests/common.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
#!/usr/bin/env bash
22

33
SCRIPT_DIR="$(cd "$(dirname "${0}")" && pwd)"
4-
BASE_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
54

6-
AD_DEPLOYMENT_YAML="${SCRIPT_DIR}/files/samba-ad-server-deployment.yml"
7-
AD_DEPLOYMENT_NAME="samba-ad-server"
8-
MEMBER_POD_YAML="${SCRIPT_DIR}/files/samba-domain-member-pod.yml"
9-
MEMBER_POD_NAME="samba-dm"
10-
MEMBER_CM_NAME="samba-container-config"
11-
MEMBER_SECRET_NAME="ad-join-secret"
5+
export AD_DEPLOYMENT_YAML="${SCRIPT_DIR}/files/samba-ad-server-deployment.yml"
6+
export AD_DEPLOYMENT_NAME="samba-ad-server"
7+
export MEMBER_POD_YAML="${SCRIPT_DIR}/files/samba-domain-member-pod.yml"
8+
export MEMBER_POD_NAME="samba-dm"
9+
export MEMBER_CM_NAME="samba-container-config"
10+
export MEMBER_SECRET_NAME="ad-join-secret"
1211

13-
KEEP=${KEEP:-0}
12+
export KEEP=${KEEP:-0}
1413

1514
_error() {
1615
echo "$@"

0 commit comments

Comments
 (0)