tests.sh: adds env var to notify tested programs of automated tests