patchThe GNU Bourne-Again SHell - Patches: patch #10261, dynvar test: add offset to...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10261: dynvar test: add offset to EPOCHSECONDS test

Submitter:  Andres Beltran <andresbeltran>
Submitted:  Wed 29 Jun 2022 08:51:13 PM UTC
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Tue 05 Jul 2022 08:34:33 PM UTC, comment #4: 

It will be in the devel branch and, eventually, in bash-5.2.

Chet Ramey <chet>
Group administrator
Tue 05 Jul 2022 06:40:44 PM UTC, comment #3: 

Hi Chet,

Will the change be incorporated into any branch?

Andres Beltran <andresbeltran>
Thu 30 Jun 2022 05:11:48 PM UTC, comment #2: 

+-1 works too.

(file #53385)

Andres Beltran <andresbeltran>
Thu 30 Jun 2022 04:07:05 PM UTC, comment #1: 

I see this exceedingly rarely, but I can see +-1 being reasonable to catch the possible millisecond differences on a busy machine.

Chet Ramey <chet>
Group administrator
Wed 29 Jun 2022 08:51:13 PM UTC, original submission:  

There are instances of the run-dynvar test (when running it as ap-test for Yocto, specifically) in which the EPOCHSECONDS check fails because it is 1 or 2 seconds off from perl -e 'print time'. Add an offset when checking the EPOCHSECONDS variable.

Andres Beltran <andresbeltran>


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

Attached Files
file #53385:  dynvar_offset_v2.patch added by andresbeltran (1KiB - application/octet-stream)
file #53383:  dynvar_offset.patch added by andresbeltran (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by andresbeltran (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.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-30 andresbeltran Attached File- Added dynvar_offset_v2.patch, #53385
    2022-06-30 chet StatusNone Done
    2022-06-29 andresbeltran Attached File- Added dynvar_offset.patch, #53383

    Back to the top

    Powered by Savane 3.13-3736.
    Corresponding source code