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

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

[Octave-bug-tracker] [bug #54386] fwrite/fread test fails on Solaris


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54386] fwrite/fread test fails on Solaris
Date: Thu, 26 Jul 2018 09:16:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?54386>

                 Summary: fwrite/fread test fails on Solaris
                 Project: GNU Octave
            Submitted by: jwe
            Submitted on: Thu 26 Jul 2018 01:16:51 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Solaris/SunOS

    _______________________________________________________

Details:

The following test fails on Solaris:


>>>>> processing io.tst
***** test
 x = char (128:255)';
 nm = tempname ();
 mode = "wb";
 [id, err] = fopen (nm, mode);
 if (id < 0)
   __printf_assert__ ("open failed: %s (%s): %s\n", nm, mode, err);
 else
   fwrite (id, x);
   fclose (id);
   mode = "rb";
   [id, err] = fopen (nm, mode);
   if (id < 0)
     __printf_assert__ ("open failed: %s (%s): %s\n", nm, mode, err);
   else
     y = fread (id, Inf, "uchar=>char");
     fclose (id);
     assert (x, y);
     unlink (nm);
   endif
 endif
!!!!! test failed
ASSERT errors for:  assert (x,y)

  Location  |  Observed  |  Expected  |  Reason
     []       






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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