Skip to content

Commit

Permalink
Merge pull request #161 from yast/y2038-srandom
Browse files Browse the repository at this point in the history
Fix a test that would fail in the year 2038 (#160)
  • Loading branch information
mvidner authored Aug 30, 2022
2 parents 598e730 + 3d02ac2 commit bdbf81d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libycp/testsuite/tests/builtin/Builtin-Misc.err
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Parsed:
----------------------------------------------------------------------
Parsed:
----------------------------------------------------------------------
(srandom () > 1000000000)
(srandom () != nil)
----------------------------------------------------------------------
Parsed:
----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion libycp/testsuite/tests/builtin/Builtin-Misc.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
(random (10) == 1)
(random (10) == 8)

(srandom () > 1000000000)
(srandom () != nil)


("** logging **")
Expand Down
7 changes: 7 additions & 0 deletions package/yast2-core.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 30 09:28:44 UTC 2022 - Martin Vidner <[email protected]>

- Fix a test that would fail in the year 2038
(gh#yast/yast-core#160)
- 4.5.3

-------------------------------------------------------------------
Mon Jul 4 13:46:48 UTC 2022 - Martin Liška <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
%bcond_with werror

Name: yast2-core
Version: 4.5.2
Version: 4.5.3
Release: 0
Url: https://github.com/yast/yast-core

Expand Down

0 comments on commit bdbf81d

Please sign in to comment.