X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fset_testenv;h=a480bb63fecd076eaa5e0b1c54cb825dc5a1a828;hb=d41803b9c1bcafabf115a188e3b4a489103bbdca;hp=a36af0b0897a90131292ae5c39c776d31fc1a506;hpb=f85c3005b5ae59af8089a88297aeb2bd5c317433;p=gedcom-parse.git diff --git a/t/set_testenv b/t/set_testenv index a36af0b..a480bb6 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