From: Peter Verthez Date: Sun, 12 Jan 2003 16:17:09 +0000 (+0000) Subject: Option to print current setting. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=bda79e2b3e217154edec23079ccad4f1cfcf94af;p=gedcom-parse.git Option to print current setting. --- diff --git a/t/set_testenv b/t/set_testenv index a36af0b..adb75d4 100755 --- a/t/set_testenv +++ b/t/set_testenv @@ -3,6 +3,8 @@ # . set_testenv ddd # To clear the test environment: # . set_testenv +# To show the test environment: +# . set_testenv print testenv=$1 @@ -17,6 +19,10 @@ case "$testenv" in export GEDCOM_TESTENV='ddd' export GEDCOM_NOOPTS=1 ;; + print) + echo "GEDCOM_TESTENV=$GEDCOM_TESTENV" + echo "GEDCOM_NOOPTS=$GEDCOM_NOOPTS" ;; + "") echo "Clearing test environment" unset GEDCOM_TESTENV