bugPSPP - Bugs: bug #64208, Regression failure on MacOS: Test...

 
 

bug #64208: Regression failure on MacOS: Test 1596: interactive output appears immediately fails

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Wed 17 May 2023 10:24:32 AM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 May 2023 01:34:04 AM UTC, comment #2: 

I don't think it's worth exploring how to make this test work perfectly on Mac OS.  I think the bug is just in the testsuite, not in what it's testing. I pushed commit acf6d3e85e39 ("tests: Skip pty-based test except on GNU/Linux.") to skip this test except on GNU/Linux.

Ben Pfaff <blp>
Group administrator
Wed 17 May 2023 05:29:03 PM UTC, comment #1: 

The failing test in testsuite.log:


## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
1596. main.at:76: testing interactive output appears immediately ...
./main.at:80: $SQUISH_PTY true </dev/null >/dev/null 2>/dev/null || exit 77
./main.at:83: echo 'SHOW N.
FINISH.' | $SQUISH_PTY pspp
stdout:
SHOW N.
FINISH.
PSPP is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying." to see the conditions.
There is ABSOLUTELY NO WARRANTY for PSPP; type "show warranty." for details.
GNU pspp 2.0.0-pre1g968e22
PSPP>   Settings
+-+-------+
|N|Unknown|
+-+-------+
PSPP> ./main.at:85: sed -n 's/^M$//
/^PSPP>/,$p' stdout
--- -   2023-05-17 17:09:42.000000000 +0000
+++ /private/tmp/pspp-20230517-30774-zog44a/pspp-2.0.0-pre1g968e22/tests/testsuite.dir/at-groups/1596/stdout    2023-05-17 17:09:42.000000000 +0000
@@ -1,7 +1,5 @@
-PSPP> SHOW N.
-  Settings
+PSPP>   Settings
 +-+-------+
 |N|Unknown|
 +-+-------+
-PSPP> FINISH.
-
+PSPP>
1596. main.at:76: 1596. interactive output appears immediately (main.at:76): FAILED (main.at:85)


Friedrich Beckmann <beckmanf>
Group Member
Wed 17 May 2023 10:24:32 AM UTC, original submission:  

During homebrew check for the latest version I figured out that test

1596: interactive output appears immediately

fails in the regression on MacOS. I tested this on MacOS Monterey 12.6.5.

Friedrich Beckmann <beckmanf>
Group Member

 

(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 blp (Posted a comment)
  • -email is unavailable- added by beckmanf (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 logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-05-18 blp CategoryNone Compilation/Portability
        StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code