comparison 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
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
50 > ln -s target_$T file_$T2 50 > ln -s target_$T file_$T2
51 > p4 add target_$T2 51 > p4 add target_$T2
52 > p4 add -t $T file_$T2 52 > p4 add -t $T file_$T2
53 > ;; 53 > ;;
54 > binary*) 54 > binary*)
55 > python -c "file('file_$T2', 'wb').write('this is $T')" 55 > $PYTHON -c "file('file_$T2', 'wb').write('this is $T')"
56 > p4 add -t $T file_$T2 56 > p4 add -t $T file_$T2
57 > ;; 57 > ;;
58 > *) 58 > *)
59 > echo "this is $T" >file_$T2 59 > echo "this is $T" >file_$T2
60 > p4 add -t $T file_$T2 60 > p4 add -t $T file_$T2