tests/hghave
changeset 16872 40d930848fd0
parent 16688 cfb6682961b8
child 16891 b0e8afdfa970
--- a/tests/hghave	Mon Jun 04 17:57:57 2012 -0500
+++ b/tests/hghave	Sun May 27 18:25:04 2012 +0200
@@ -202,7 +202,7 @@
         os.rmdir(d)
 
 def has_pyflakes():
-    return matchoutput('echo "import re" 2>&1 | pyflakes',
+    return matchoutput("sh -c \"echo 'import re' 2>&1 | pyflakes\"",
                        r"<stdin>:1: 're' imported but unused",
                        True)