[BusyBox] tar problems (once again)

Michael Sternberg michael at dragon.boscom.com
Mon Jan 13 04:22:03 UTC 2003


> -----Original Message-----
> From: Glenn McGrath [mailto:bug1 at optushome.com.au]
>
> Subject: Re: [BusyBox] tar problems (once again)
> 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 the same results.

I am :(.

~> ./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
XFAIL: 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
~> touch test.txt
~> tar zcvf x.tar.gz test.txt
~> tar ztvf x.tar.gz
-rw-r--r-- 0/0         0 2003-01-13 13:16:09 test.txt
tar: Short read
~> echo $?
1
~>

Tar is working wonderful, its just its exit code
that I'm complaining about.

BTW, tar without "z" option works OK.
And - there is no test that checks "zt" or
"zx" options of tar.

		Thanks, Michael.


-- 





More information about the busybox mailing list