bugGNU Octave - Bugs: bug #50235, return code is zero, even if there...

 
 

bug #50235: return code is zero, even if there was an error

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Mon 06 Feb 2017 03:07:46 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 09 Feb 2017 12:26:20 AM UTC, comment #3:

Yes, we probably should have tests for this kind of thing. Can we do it reasonably within the existing test framework, or is this something we should do with a shell script? Is a shell script sufficient? I think it should be because we don't really need to worry about continuing after a test failure that causes a segfault, for exmaple.

John W. Eaton <jwe>
Project Administrator
Mon 06 Feb 2017 10:49:29 AM UTC, comment #2:

Ah! I missed that bug report because no one mentioned the return code. We should have test units for this stuff.

Carnë Draug <carandraug>
Project Member
Mon 06 Feb 2017 10:18:21 AM UTC, comment #1:

This was reported and fixed in bug #49271.

Guillaume <gyom>
Mon 06 Feb 2017 03:07:46 AM UTC, original submission:

If there is an error in an Octave program, the return code should be non-zero. This was the behaviour in previous versions, but seems like this bug creped in version 4.2:

Carnë Draug <carandraug>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by gyom (Posted a comment)
  • -unavailable- added by carandraug (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Feb 2017 10:49:51 AM UTCcarandraugStatusNone=>Duplicate
    Mon 06 Feb 2017 10:49:29 AM UTCcarandraugOpen/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #49271

    Back to the top


    Powered by Savane 3.1-cleanup1