changeset 32937:7fe1f9785c75

tests: sed away python #! in test-run-tests.t to avoid some upcoming insanity
author Augie Fackler <augie@google.com>
date Tue, 20 Jun 2017 09:33:19 -0400
parents edbd60e31217
children b6776b34e44e
files tests/test-run-tests.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-run-tests.t	Tue Jun 20 08:44:56 2017 -0400
+++ b/tests/test-run-tests.t	Tue Jun 20 09:33:19 2017 -0400
@@ -1000,8 +1000,8 @@
   >   $ test "\$TESTDIR" = "$TESTTMP"/anothertests
   > #endif
   >   $ test "\$RUNTESTDIR" = "$TESTDIR"
-  >   $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py
-  >   #!/usr/bin/env python
+  >   $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@'
+  >   #!USRBINENVPY
   >   #
   >   # check-code - a style and portability checker for Mercurial
   > EOF