# HG changeset patch # User Durham Goode # Date 1363109868 25200 # Node ID eeafab2f58f67d844567d2133b7f9c307274ae1d # Parent a91387a37f05d24855a3ab13af1112d63bb23620 tests: fix test-profile to not depend on HGPROF environment variable The test-profile test would fail if the user had HGPROF set to another profiler in their environment. This fix makes the test independent of that environment variable. diff -r a91387a37f05 -r eeafab2f58f6 tests/test-profile.t --- a/tests/test-profile.t Sat Mar 09 22:14:46 2013 +0100 +++ b/tests/test-profile.t Tue Mar 12 10:37:48 2013 -0700 @@ -8,6 +8,8 @@ test --profile + $ export -n HGPROF + $ hg --profile st 2>../out $ grep CallCount ../out > /dev/null || cat ../out