bugGNU Octave - Bugs: bug #35039, Test fail in dos.m (MinGW)

 
 

bug #35039: Test fail in dos.m (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Mon 12 Dec 2011 04:10:20 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Dec 2011 10:11:41 PM UTC, comment #1: 
Rik <rik5>
Group administrator
Mon 12 Dec 2011 04:10:20 AM UTC, original submission:  

In the recent development source,

changeset 14022:de90542b7afc
date Fri Dec 09 11:17:13 2011 -0800 (2 days ago)

Test fail in dos.m is found,


>>>>> processing e:usrTatsumingwhomeoctaveshgoctave-workscriptsmiscellaneousdos.m
  ***** test
 cmd = ls_command ();
 old_wstate = warning ("query");
 warning ("off", "Octave:undefined-return-values");
 unwind_protect
   [status, output] = dos (cmd);
 unwind_protect_cleanup
   warning (old_wstate);
 end_unwind_protect

 if (ispc () && ! isunix ())
   [status, output] = dos (cmd);
   assert (status, 0);
   assert (ischar (output));
   assert (! isempty (output));
 else
   assert (status, []);
   assert (output, []);
 endif
!!!!! test failed
assert (status,0) expected
0
but got
 127
values do not match


The origin of error seem to be the same below,
https://savannah.gnu.org/bugs/?35038

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-12 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code