[BusyBox] tar problems (once again)

Glenn McGrath bug1 at optushome.com.au
Mon Jan 13 02:16:04 UTC 2003


On Mon, 13 Jan 2003 10:07:42 +0200 (IST)
Michael Sternberg <michael at dragon.boscom.com> wrote:

> 
> Latest CVS busybox (Jan 13 08:24).
> PPC platform (MPC860).
> libc.so.6
> 

$ touch test.txt
$ ../busybox tar zcvf x.tar.gz test.txt
$ echo $?
0
$ ../busybox tar ztvf x.tar.gz
-rw-r--r-- 1000/1000         0 2003-01-13 20:07:23 test.txt
$ echo $?
0
$ rm -f test.txt 
$ ../busybox tar zxvf x.tar.gz
test.txt
$ echo $?
0
$ ls -l test.txt 
-rw-r--r--    1 bug1     bug1            0 Jan 13 20:08 test.txt



As you can see i dont get that error, im using the latest CVS on i386.

All i can think is that it might be an architecture specific problem ?

I hope its not as it would mean there are probably bugs in other
archiving applets.

Have you tried running the testsuite ?

$ cd testsuite
$ ./runtest -v tar
PASS: tar-archives-multiple-files
XPASS: tar-complains-about-missing-file
PASS: tar-demands-at-least-one-ctx
PASS: tar-demands-at-most-one-ctx
PASS: tar-extracts-file
PASS: tar-extracts-from-standard-input
PASS: tar-extracts-multiple-files
XPASS: tar-handles-cz-options
UNTESTED: tar-handles-empty-include-and-non-empty-exclude-list
UNTESTED: tar-handles-exclude-and-extract-lists
PASS: tar-handles-multiple-X-options
UNTESTED: tar-handles-nested-exclude

You should get hte same results.


Glenn



More information about the busybox mailing list