changeset 53202:4c646a8f3356

hghave: use `has_cmd` for `tic` detection
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 20 Apr 2025 17:18:17 +0200
parents 6a235b995526
children a1a010adf8c6
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Thu Apr 17 21:31:47 2025 +0200
+++ b/tests/hghave.py	Sun Apr 20 17:18:17 2025 +0200
@@ -785,7 +785,7 @@
 
 @check("tic", "terminfo compiler")
 def has_tic():
-    return matchoutput('test -x "`which tic`"', br'')
+    return has_cmd('tic')
 
 
 @check("xz", "xz compression utility")