[BusyBox] tar - test script and patch problem!

Jim Gleason jimg at lineo.com
Wed Nov 29 19:32:04 UTC 2000


Jim Gleason wrote:

> kent robotti wrote:
>
> >
> > I tryed it again and this is what i get.
> >
> > # ./tar_tests.bash
> >
> > Removing tar test files and directories
> > Creating tar test files and directories
> > tar_test_1: Full Creation & Full Extraction
> >         <WARNING> File sizes differ (GNU VS BB)
> >         <OK> tar_test_1
> > tar_test_2: Full Creation & Partial Extraction
> >         <WARNING> File sizes differ (GNU VS BB)
> >         <FAIL> GNU tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> tar_test_2
> > tar_test_3: Partial Creation & Full Extraction
> >         <WARNING> File sizes differ (GNU VS BB)
> >         <FAIL> GNU tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> tar_test_3
> > tar_test_4: Partial Creation & Partial Extraction
> >         <WARNING> File sizes differ (GNU VS BB)
> >         <FAIL> GNU tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (ls) (extracted VS ls of original)
> >         <FAIL> tar_test_4
> > tar_test_5: Full Creation & Wildcard Extraction
> >         <WARNING> File sizes differ (GNU VS BB)
> >         <FAIL> GNU tar extraction of BB tar creation (Wildcarded '*') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (Wildcarded '*') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (Wildcarded '*') (ls) (extracted VS ls of original)
> >         <FAIL> GNU tar extraction of BB tar creation (Wildcarded '?') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (Wildcarded '?') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (Wildcarded '?') (ls) (extracted VS ls of original)
> >         <FAIL> GNU tar extraction of BB tar creation (Wildcarded '[]') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of GNU tar creation (Wildcarded '[]') (ls) (extracted VS ls of original)
> >         <FAIL> BB tar extraction of BB tar creation (Wildcarded '[]') (ls) (extracted VS ls of original)
> >         <FAIL> tar_test_5
> > Removing tar test files and directories
> >
> > I have this problem!
> >
> > It creates the archive but seg faults
> > when i tar a directory.
> >
> > busybox tar -cf docs.tar docs
> > seg fault
> >
> > This is on a libc-2.1.3 system with kernel 2.2.17.
> >
> > _______________________________________________
> > busybox mailing list
> > busybox at opensource.lineo.com
> > http://opensource.lineo.com/mailman/listinfo/busybox
>
> It looks like tar may yet have a few undiscovered bugs ;)  I'll see if I can duplicate the behaviour on one
> of the machines here (SEG fault and associated test messages).  If so, I statnd a chance of fixing it.
>
> Jim Gleason

On my RH 6.2 system (2.2.16-3 kernel) I can reproduce the core dump.  Now to fix it :)

Jim Gleason



More information about the busybox mailing list