diff tests/test-largefiles.t @ 32938:b6776b34e44e

tests: use $PYTHON in #! so we always use the right Python
author Augie Fackler <augie@google.com>
date Thu, 15 Jun 2017 14:27:52 -0400
parents 1b27e1793156
children 4a8db3538c39
line wrap: on
line diff
--- a/tests/test-largefiles.t	Tue Jun 20 09:33:19 2017 -0400
+++ b/tests/test-largefiles.t	Thu Jun 15 14:27:52 2017 -0400
@@ -215,7 +215,7 @@
 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail)
 
   $ cat <<EOF > "$TESTTMP/hgweb.cgi"
-  > #!/usr/bin/env python
+  > #!$PYTHON
   > from mercurial import demandimport; demandimport.enable()
   > from mercurial.hgweb import hgweb
   > from mercurial.hgweb import wsgicgi