Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551718 - app-portage/portage-utils-0.56 - tests/qcheck/list01.good test off by UTC -0400
Summary: app-portage/portage-utils-0.56 - tests/qcheck/list01.good test off by UTC -0400
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-06-11 05:56 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-06-11 09:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-06-11 05:56:03 UTC
--- list        2015-06-11 07:17:23.567666899 +0200
+++ /var/tmp/portage/app-portage/portage-utils-0.56/work/portage-utils-0.56/tests/qcheck/../../tests/qcheck/list01.good 2015-06-06 08:11:46.000000000 +0200
@@ -1,14 +1,11 @@
 Checking a-b/pkg-1.0 ...
- MTIME: /bin/good-md5
  MD5-DIGEST: /bin/bad-md5
  MTIME: /bin/bad-mtime-obj
- MTIME: /bin/good-sha1
  SHA1-DIGEST: /bin/bad-sha1
- MTIME: /bin/good-sym
  MTIME: /bin/bad-mtime-sym
  AFK: /bin/broken-sym
  AFK: /bin/missing-sym
  AFK: /missing-dir
  AFK: /missing-dir/missing-file
  AFK: /missing-dir/missing-sym
-  * 1 out of 13 files are good
+  * 4 out of 13 files are good
FAIL: output does not match

The test doesn't consider the timezone. Calling date on what looks like it should be '2014-05-01 10:35:00.000000000 -0400' and then passing that to touch might "fix" this.