The Samba-Bugzilla – Attachment 13043 Details for
Bug 12679
source4/torture/basic/base.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
base.c.patch (text/plain), 1.10 KB, created by
Ruga
on 2017-03-11 17:58:45 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ruga
Created:
2017-03-11 17:58:45 UTC
Size:
1.10 KB
patch
obsolete
>--- source4/torture/basic/base.c.orig 2017-03-11 18:53:58.000000000 +0100 >+++ source4/torture/basic/base.c 2017-03-11 18:56:54.000000000 +0100 >@@ -190,7 +190,7 @@ > > torture_comment(tctx, "New file time is %s", ctime(&t)); > >- if (abs(t - time(NULL)) > 60*60*24*10) { >+ if (labs(t - time(NULL)) > 60*60*24*10) { > torture_result(tctx, TORTURE_FAIL, "ERROR: SMBgetatr bug. time is %s", > ctime(&t)); > t = time(NULL); >@@ -289,13 +289,13 @@ > torture_comment(tctx, "modify time=%s", ctime(&m_time)); > torture_comment(tctx, "This system appears to have sticky create times\n"); > } >- if ((abs(a_time - t) > 60) && (a_time % (60*60) == 0)) { >+ if ((labs(a_time - t) > 60) && (a_time % (60*60) == 0)) { > torture_comment(tctx, "access time=%s", ctime(&a_time)); > torture_result(tctx, TORTURE_FAIL, "This system appears to set a midnight access time\n"); > correct = false; > } > >- if (abs(m_time - t) > 60*60*24*7) { >+ if (labs(m_time - t) > 60*60*24*7) { > torture_result(tctx, TORTURE_FAIL, "ERROR: totally incorrect times - maybe word reversed? mtime=%s", ctime(&m_time)); > correct = false; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12679
: 13043