Under drill-yarn module there is TestScripts.java file created for testing the scripts provided by Drill to setup the environment. Currently those tests are failing. This Jira is to make sure all the tests are passing and few new tests are added for DRILLBIT_CONTEXT variable inside the script.
Also currently these tests are ignored and meant to be run in Developer environment. May be we can investigate in future to provide support for it to be run as regular tests by using DirTestWatcher