[Bugs] [Bug 1129939] NetBSD port
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jan 9 17:55:00 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1129939
--- Comment #230 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9414 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 9408dc7b416ca80b3b8d8ecae2ef75c7e9cd21cd
Author: Emmanuel Dreyfus <manu at netbsd.org>
Date: Thu Jan 8 06:22:17 2015 +0100
Fix bad shell calculation in tests/basiv/afr/self-heald.t
A shell variable calculation in tests/basiv/afr/self-heald.t
resulted in spurious regression failure at test 67.
This is wrong and always produce an error: $((`date +"%j"`))%2
This still fails because date +"%j" produces 008, which is considered
an octal value: $((`date +"%j"` %2 ))
This works: $((`date +"%j"|sed 's/^0*//'` % 2 ))
BUG: 1129939
Change-Id: I5d0d27b7bb64ef7d56bafebe71aafe01eb2f39a7
Signed-off-by: Emmanuel Dreyfus <manu at netbsd.org>
Reviewed-on: http://review.gluster.org/9414
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list