diff tests/test-largefiles-cache.t @ 32956: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 1b5c61d38a52
children 24849d53697d
line wrap: on
line diff
--- a/tests/test-largefiles-cache.t	Tue Jun 20 09:33:19 2017 -0400
+++ b/tests/test-largefiles-cache.t	Thu Jun 15 14:27:52 2017 -0400
@@ -93,7 +93,7 @@
 Portable way to print file permissions:
 
   $ cat > ls-l.py <<EOF
-  > #!/usr/bin/env python
+  > #!$PYTHON
   > import sys, os
   > path = sys.argv[1]
   > print '%03o' % (os.lstat(path).st_mode & 0777)