On Mon, May 20, 2013 at 5:58 AM, René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> wrote: > diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh > index a1f35d2..c2023b1 100755 > --- a/t/t5000-tar-tree.sh > +++ b/t/t5000-tar-tree.sh > @@ -40,6 +66,24 @@ check_tar() { > (mkdir $dir && cd $dir && "$TAR" xf -) <$tarfile > ' > > + test_expect_success TAR_NEEDS_PAX_FALLBACK ' interpret pax headers' ' s/' interpret/'interpret/ > + ( > + cd $dir && > + for header in *.paxheader > + do > + data=${header%.paxheader}.data && > + if test -h $data -o -e $data > + then > + path=$(get_pax_header $header path) && > + if test -n "$path" > + then > + mv "$data" "$path" > + fi > + fi > + done > + ) > + ' > + > test_expect_success ' validate filenames' ' > (cd ${dir_with_prefix}a && find .) | sort >$listfile && > test_cmp a.lst $listfile > @@ -54,6 +98,8 @@ test_expect_success \ > 'populate workdir' \ > 'mkdir a && > echo simple textfile >a/a && > + ten=0123456789 && hundred=$ten$ten$ten$ten$ten$ten$ten$ten$ten$ten && > + echo long filename >a/four$hundred && > mkdir a/bin && > cp /bin/sh a/bin && > printf "A\$Format:%s\$O" "$SUBSTFORMAT" >a/substfile1 && > diff --git a/t/t5000/pax.tar b/t/t5000/pax.tar > new file mode 100644 > index 0000000000000000000000000000000000000000..d91173714991fded560fcd6a8aaec6aa6ec7f5e8 > GIT binary patch > literal 10240 > zcmeIy%?g4*5Ww+0_Y^*X&3@?Sp?k+(L29F*2+YXGPl*s(6d@sk|6W#S)Sdakm@c<v > zvkB!sRJT<7LN5=eb5OG`X;<!?>h^Yh?xL+x+Gv-HHCB5i+IVkN(#%@Lz{l>lx~$rg > z2GWzmuipCRCcpUG2dyNR`g93vZSz%O3b*p9Sn-k>pDo&KIhx%KXMfulr%w}@f7;`7 > zyU`e%|L&jgG5=zmO1_@SxRf~Zp8x84t>bJTc^pGH_qWm2pU!{O2LS{SKmY**5I_I{ > l1Q0*~0R#|0009ILKmY**5I_I{1Q0*~0R#|00D->}cmml}KZ5`O > > literal 0 > HcmV?d00001 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html