diff tests/test-convert-p4-filetypes.t @ 22947:c63a09b6b337

tests: use $PYTHON instead of hardcoding python This makes running the testsuite with pypy possible.
author Augie Fackler <raf@durin42.com>
date Wed, 15 Oct 2014 15:35:59 -0400
parents a970a5c15b43
children 64ed9f904532
line wrap: on
line diff
--- a/tests/test-convert-p4-filetypes.t	Wed Oct 15 15:13:43 2014 -0400
+++ b/tests/test-convert-p4-filetypes.t	Wed Oct 15 15:35:59 2014 -0400
@@ -52,7 +52,7 @@
   >          p4 add -t $T file_$T2
   >          ;;
   >       binary*)
-  >          python -c "file('file_$T2', 'wb').write('this is $T')"
+  >          $PYTHON -c "file('file_$T2', 'wb').write('this is $T')"
   >          p4 add -t $T file_$T2
   >          ;;
   >       *)