Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Apr 2007 10:06:33 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Problem with test(1)
Message-ID:  <1175763993.1318.23.camel@zoot.mintel.co.uk>
In-Reply-To: <1175757140.67579.50.camel@shumai.marcuscom.com>
References:  <1175757140.67579.50.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-px0LSbLvCzhOS5+eUJbj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2007-04-05 at 03:12 -0400, Joe Marcus Clarke wrote:
> I noticed something weird with test(1) when I ran across a problem port
> Makefile.  Our test(1) doesn't properly check to make sure there is an
> operand argument to unary operators like -f.  For example:
>=20
> test -f
>=20
> Will print "TRUE" on FreeBSD.  On Solaris, it will die:
>=20
> /usr/bin/test[8]: test: argument expected
>=20
> I think this patch is correct in that it does fix the problem, and the
> TEST.sh and TEST.csh regression scripts report the same results pre and
> post-patch.  Comments?
>=20
> http://www.marcuscom.com/downloads/text.c.diff
>=20
> Joe
>=20

He means http://www.marcuscom.com/downloads/test.c.diff

--=-px0LSbLvCzhOS5+eUJbj
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQBGFLwZlcRvFfyds/cRAvkPAJ9oCayA5cR516wtz0xfvsac79OnnQCgn2b1
5LvQhbm+WuW38c/SC8hmcwI=
=C1QJ
-----END PGP SIGNATURE-----

--=-px0LSbLvCzhOS5+eUJbj--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1175763993.1318.23.camel>