octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54180] libinterp/corefcn/file-io.cc-tst failu


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #54180] libinterp/corefcn/file-io.cc-tst failure and weird output when test suite is run twice
Date: Mon, 25 Jun 2018 03:13:25 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Follow-up Comment #6, bug #54180 (project octave):

Nice approach!

I modified your code to directly detect leaked file descriptors in the test.
See attachment HACK-detect-leaked-file-descriptors-in-tests.patch.

Using this detection method, I declare `io.tst` to be the culprit.


  io.tst ......................................................STARTING TEST
fids_before_test =

   30   31

 PASS    151/154
                                             (run-time condition) SKIP    3
                                                   (reported bug) XFAIL   3
fids_after_test =

   30   31   40   41

fids_after_test: [30 31 40 41]
LEAKED FIDS: [40 41]


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54180>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]