[Top][All Lists]

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

[Octave-patch-tracker] [patch #9633] Add test for correct exit status be

From: Rik
Subject: [Octave-patch-tracker] [patch #9633] Add test for correct exit status behaviour
Date: Thu, 2 Jan 2020 18:01:17 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of patch #9633 (project octave):

                  Status:                    None => Need Info              


Follow-up Comment #3:

@Mike: Testing for the exit status seems like a useful behavior.  However, I'd
rather avoid a shell script (which can be different between different Unix
flavors and certainly different on Windows).  I wonder if the 4 tests can be
re-written to occur within Octave by using the system() call?

For example, I re-wrote the third test (non-zero exit status) as

[st,out] = system ("./run-octave -f --eval 'exit(2)'")
st = 2
out = 

What do you think?


Reply to this item at:


  Message sent via Savannah

reply via email to

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