From 45a4d23ac6463303e495a42885e1b0986dd9c1ea3500e26ec3d32517f55c8b11 Mon Sep 17 00:00:00 2001 From: Callum Farmer Date: Tue, 30 Mar 2021 18:35:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=29 --- files_test.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files_test.patch b/files_test.patch index 142eb09..64ab3f3 100644 --- a/files_test.patch +++ b/files_test.patch @@ -30,7 +30,7 @@ Index: lua/files.lua assert(not x and y == v[2]) -- correct status and 'what' -- correct code if known (but always different from 0) assert((v[3] == nil and z > 0) or v[3] == z) -@@ -794,6 +794,7 @@ assert(os.date(string.rep("%d", 1000), t +@@ -791,6 +791,7 @@ assert(os.date(string.rep("%d", 1000), t assert(os.date(string.rep("%", 200)) == string.rep("%", 100)) local function checkDateTable (t) @@ -38,7 +38,7 @@ Index: lua/files.lua _G.D = os.date("*t", t) assert(os.time(D) == t) load(os.date([[assert(D.year==%Y and D.month==%m and D.day==%d and -@@ -810,7 +810,9 @@ if not _port then +@@ -806,7 +806,9 @@ if not _port then checkDateTable(1) checkDateTable(1000) checkDateTable(0x7fffffff)