tests/hghave.py
changeset 47301 97f04eaafa65
parent 47279 40b51c28b242
child 47302 338623a2ebf2
--- a/tests/hghave.py	Mon May 17 15:24:46 2021 +0200
+++ b/tests/hghave.py	Tue May 18 13:24:41 2021 -0400
@@ -1129,3 +1129,8 @@
         return True
     except ImportError:
         return False
+
+
+@check("bash", "bash shell")
+def has_bash():
+    return matchoutput("bash -c 'echo hi'", b'^hi$')