mirror of https://github.com/ceph/go-ceph
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 <jmulligan@redhat.com>
This commit is contained in:
parent
2ad8361692
commit
a5e5ae6206
|
@ -16,6 +16,11 @@ CEPH_CONF=/tmp/ceph/ceph.conf
|
||||||
# set defaults if they are currently unset in the environment
|
# set defaults if they are currently unset in the environment
|
||||||
: "${GO_CEPH_TEST_REQUIRE_MOUNT:=yes}"
|
: "${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}" -- "$@")"
|
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}"
|
eval set -- "${CLI}"
|
||||||
while true ; do
|
while true ; do
|
||||||
|
|
Loading…
Reference in New Issue