From a5e5ae620682e7a729f77d8a16baabb9db4746b8 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 24 Mar 2020 13:46:08 -0400 Subject: [PATCH] entrypoint: mention env vars that are not customized by script Mention the env vars that the go test code looks for but does not change from the "outer" environment as a way of documenting those variables. Signed-off-by: John Mulligan --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index b7febd2..d019901 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,6 +16,11 @@ CEPH_CONF=/tmp/ceph/ceph.conf # set defaults if they are currently unset in the environment : "${GO_CEPH_TEST_REQUIRE_MOUNT:=yes}" +# Default env vars that are not currently changed by this script +# but can be used to change the test behavior: +# GO_CEPH_TEST_MOUNT_DIR +# GO_CEPH_TEST_MDS_NAME + CLI="$(getopt -o h --long test-run:,test-pkg:,pause,cpuprofile,memprofile,no-cover,micro-osd:,results:,ceph-conf:,help -n "${0}" -- "$@")" eval set -- "${CLI}" while true ; do