Skip to content

Commit 369accb

Browse files
author
Tim Middleton
committed
Add test for COHCTL_HOME
1 parent 27f4ee4 commit 369accb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/test-create-cluster.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,10 @@ if [ -z "$COM" -a -z "`echo $VERSION | grep SNAPSHOT`" ] ; then
310310
runCommand remove cluster local -y
311311
fi
312312

313+
# Test the environment variable for setting the home directory
314+
message "Setting COHCTL_HOME to ${CONFIG_DIR}"
315+
export COHCTL_HOME=${CONFIG_DIR}
316+
$DIR/bin/cohctl version
313317

314318

315319

0 commit comments

Comments
 (0)