diff tests/test-check-execute.t @ 33204:ddd65b4f3ae6

tests: alias syshg and syshgenv so they can be switched conditionally
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Jul 2017 13:14:20 +0900
parents 6c113a7dec52
children fb6593307e24
line wrap: on
line diff
--- a/tests/test-check-execute.t	Fri Jun 30 21:49:29 2017 +0900
+++ b/tests/test-check-execute.t	Sun Jul 02 13:14:20 2017 +0900
@@ -5,20 +5,20 @@
 
 look for python scripts without the execute bit
 
-  $ syshg files 'set:**.py and not exec() and grep(r"^#!.*?python")'
+  $ testrepohg files 'set:**.py and not exec() and grep(r"^#!.*?python")'
   [1]
 
 look for python scripts with execute bit but not shebang
 
-  $ syshg files 'set:**.py and exec() and not grep(r"^#!.*?python")'
+  $ testrepohg files 'set:**.py and exec() and not grep(r"^#!.*?python")'
   [1]
 
 look for shell scripts with execute bit but not shebang
 
-  $ syshg files 'set:**.sh and exec() and not grep(r"^#!.*(ba)?sh")'
+  $ testrepohg files 'set:**.sh and exec() and not grep(r"^#!.*(ba)?sh")'
   [1]
 
 look for non scripts with no shebang
 
-  $ syshg files 'set:exec() and not **.sh and not **.py and not grep(r"^#!")'
+  $ testrepohg files 'set:exec() and not **.sh and not **.py and not grep(r"^#!")'
   [1]