equal
deleted
inserted
replaced
42 #TYPES="$TYPES apple resource unicode utf16 uresource xunicode xutf16" |
42 #TYPES="$TYPES apple resource unicode utf16 uresource xunicode xutf16" |
43 for T in $TYPES ; do |
43 for T in $TYPES ; do |
44 T2=`echo $T | tr [:upper:] [:lower:]` |
44 T2=`echo $T | tr [:upper:] [:lower:]` |
45 case $T in |
45 case $T in |
46 apple) |
46 apple) |
47 ;; |
47 ;; |
48 symlink*) |
48 symlink*) |
49 echo "this is target $T" >target_$T2 |
49 echo "this is target $T" >target_$T2 |
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 |