Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 18:50:01 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Sergey Babkin <babkin@bellatlantic.net>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: some PRs
Message-ID:  <20040727165001.GI57678@darkness.comp.waw.pl>
In-Reply-To: <410684A0.5C65ED42@bellatlantic.net>
References:  <20040718184008.GC57678@darkness.comp.waw.pl> <20040719075952.GG57678@darkness.comp.waw.pl> <20040719.081356.51946167.imp@bsdimp.com> <200407191855.19885.max@love2party.net> <4105987E.5FC50517@bellatlantic.net> <20040727032253.GA24778@gothmog.gr> <20040727032917.GA24942@gothmog.gr> <410684A0.5C65ED42@bellatlantic.net>

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

--Vo48LVc30GAQuLuW
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 27, 2004 at 12:36:48PM -0400, Sergey Babkin wrote:
+> If you run a test in which you know the program must fail (such
+> as writing to /dev/full) yet it does not, this means that there
+> is abug in the program.

And what if I've more than one write() on this descriptor and first
write() check works fine, how can I check other writes()?

Really, it is not worth new device.

If you want to use something like this, it should go into /usr/src/tools/
not into /usr/src/sys/ and it should gives us much more than that.
For example in gnop(8) I'm allowing to specify a failure probability,
so you can test failures handling much better (not only first one).

Are there any other places where it could be helpful?

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--Vo48LVc30GAQuLuW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD4DBQFBBoe5ForvXbEpPzQRAn4lAKDfE7xZlk9vMH86q63M6eh7qaCH1wCUCham
hwN3XsSL0hLrM89owN9IPA==
=uNFb
-----END PGP SIGNATURE-----

--Vo48LVc30GAQuLuW--



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