disable environment equality test under valgrind

Change-Id: I9e0e06331f134fe89c9942f93b7546b0e67bb821