bugGNU Octave - Bugs: bug #48966, cgi: Allow running the unit test...


bug #48966: cgi: Allow running the unit test out of the box

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Wed 31 Aug 2016 09:19:01 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  other Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 07 Sep 2016 10:25:00 AM UTC, comment #2: 

I usually run the unit test in the "inst" directory where the test code works out of the box. I changed the code (similar to your patch) so that the test code now works in any directory if the cgi package is installed. I assume that this makes it easier for distro package maintainers.

This bug is fixed in version 0.1.2 which I just released.

Alexander Barth <abarth>
Thu 01 Sep 2016 11:20:20 AM UTC, comment #1: 

Adding package maintainer to CC

Carnë Draug <carandraug>
Project Member
Wed 31 Aug 2016 09:19:01 PM UTC, original submission:  

The patch attached below allow running the doc/test_cgi.sh (as in the 0.1.1 release) out of the box.  It is necessary to load the cgi package before calling the cgi() function.

Rafael Laboissière

Rafael Laboissiere <rlaboiss>


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

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by abarth (Posted a comment)
  • -email is unavailable- added by carandraug (Alexander Barth - maintainer of cgi package)
  • -email is unavailable- added by rlaboiss (Submitted the item)

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

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-08 siko1056 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2016-09-01 carandraug Carbon-Copy- => Added barth.alexander@gmail.com
    2016-08-31 rlaboiss Attached File- => Added load-cgi-package-in-unit-test.patch, #38397

    Back to the top

    Powered by Savane 3.5