[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] tar - New test script and patch
From: Jim Gleason <jimg () lineo ! com>
Date: 2000-11-29 21:48:31
[Download RAW message or body]
kent robotti wrote:
> Kent (and others)
>
> Attached are two new files for busybox tar.
>
> tar.c.hardlink.patch.72 is a new patch to correctly handle hardlinks
> within tar.c revision number 0.72 (current).
> *** I did a DUH and forgot one line.
>
> tar_tests.bash (belongs in and runs in tests directory) is a new shell
> script to test BB tar against GNU tar.
> *** I added core file checks befire and after tar file creation.
>
> Would someone (Kent ?) test these. This patch should fix the core dump
> Kent reported earlier.
>
> It seems to be alright, no seg fault.
>
> ./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
Kent,
What ls are you using? I'm wondering if the cut values in the test script are \
working correctly for you. Actually I'm wondering what could be causing the <FAIL> \
messages for test #2, 3, & 4. I can't reproduce these failures on my machines :(
Jim Gleason
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic