Re: some PRs

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 07/27/04

  • Next message: Garance A Drosihn: "Re: some PRs"
    Date: Tue, 27 Jul 2004 18:50:01 +0200
    To: Sergey Babkin <babkin@bellatlantic.net>
    
    
    

    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?

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



  • Next message: Garance A Drosihn: "Re: some PRs"

    Relevant Pages

    • Re: Beth HaWaadh Permits Eating of Kitniyoth by all Jews in Israel During Pesah
      ... pasuq, ask me why I do not think writing (not even pronouncing, mind ... says this pasuq is a negative commandment. ... Rambam himself gives an example of what the words mean, ... I never wondered why you fail to address me as a talmid chacham. ...
      (soc.culture.jewish.moderated)
    • Re: testing fclose...really necessary
      ... No. fflush can fail as easily as fclose can; ... If you've been writing to a stream, it can have ... failure is to abort the program with an error message. ...
      (comp.lang.c)
    • Re: CD Burn
      ... them seemed to fail after slightly more than a year, ... fitted internally in a RiscPC as they got *very* hot. ... However it did tend to make CD writing ... first ascertained the SCSI side still worked, ie the SCSI ident was ...
      (comp.sys.acorn.apps)
    • Re: SafeConfigParser can set unsafe values
      ... Writing the file out to disk writes it exactly as set, causing a get ... to fail just the same later. ...
      (comp.lang.python)
    • Re: 100% CPU Util on Simple Update Query
      ... I actually got it to fail on the statement shown. ... I was writing into a char 25 field. ... I suspect an indexing ...
      (microsoft.public.sqlserver.programming)