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.
--- 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