Re: t5000-tar-tree.sh failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 21 Dec 2006, Uwe Kleine-König wrote:

> [...]
> 	* FAIL 14: extract ZIP archive
> 		(mkdir d && cd d && $UNZIP ../d.zip)
> [...]
>
> I think the problem is:
> 
> 	zeisberg@cepheus:~/gsrc/git$ unzip
> 	bash: unzip: command not found

Yep. That's the problem.

> Probably the subversion tests suffer the same (for svn instead of 
> unzip).
> 
> Do we want the tests to depend on all that or would it be sensible to
> output a warning that a program is missing?

Why not enclose the tests in a

	if unzip -h >/dev/null 2>/dev/null; then

		# all these tests

	fi

Hmm?

Ciao,
Dscho

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]