GNU bug report logs -
#31644
tests/ls/abmon-align does not work today (May 29th)
Previous Next
Reported by: Kamil Dudka <kdudka <at> redhat.com>
Date: Tue, 29 May 2018 16:17:01 UTC
Severity: normal
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31644 in the body.
You can then email your comments to 31644 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#31644
; Package
coreutils
.
(Tue, 29 May 2018 16:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kamil Dudka <kdudka <at> redhat.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Tue, 29 May 2018 16:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Re-posting with a fresh subject. debbugs.gnu.org rejected my original post
because the original bug has been closed and has received no comments for more
than 28 days:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30814
On Wednesday, March 14, 2018 7:40:31 PM CEST Pádraig Brady wrote:
> Given the increase in supported size should only impact relatively few
> languages it probably makes sense to increase to 12. The attached does that
> and also augments the test to find ambiguous cases.
The ls/abmon-align test does not work today (May 29th) because of the added
check. The problem is that:
touch '-d+N month' for N={01..12}
... in general does not create 12 files with timestamps in different months.
If you run it today (May 29th), touch '-d+09 month' results in March 1st while
touch '-d+10 month' results in March 29th. Consequently, both 09.ts and 10.ts
have the same month (March) to begin with and the check for duplicates has to
fail:
++ echo 'Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Mar
Mar
Apr
May'
++ sort
++ uniq -d
++ wc -l
+ n_dupes=1
+ test 1 = 1
+ test 1 = 0
+ fail=1
+ break 2
+ test 1 = 1
+ echo 'misalignment or ambiguous output in C locale:'
misalignment or ambiguous output in C locale:
+ LC_ALL=C
+ TIME_STYLE=+%b
+ ls -lgG 01.ts 02.ts 03.ts 04.ts 05.ts 06.ts 07.ts 08.ts 09.ts 10.ts 11.ts
12.ts
-rw-rw-r-- 1 0 Jun 01.ts
-rw-rw-r-- 1 0 Jul 02.ts
-rw-rw-r-- 1 0 Aug 03.ts
-rw-rw-r-- 1 0 Sep 04.ts
-rw-rw-r-- 1 0 Oct 05.ts
-rw-rw-r-- 1 0 Nov 06.ts
-rw-rw-r-- 1 0 Dec 07.ts
-rw-rw-r-- 1 0 Jan 08.ts
-rw-rw-r-- 1 0 Mar 09.ts
-rw-rw-r-- 1 0 Mar 10.ts
-rw-rw-r-- 1 0 Apr 11.ts
-rw-rw-r-- 1 0 May 12.ts
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Tue, 29 May 2018 17:17:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kamil Dudka <kdudka <at> redhat.com>
:
bug acknowledged by developer.
(Tue, 29 May 2018 17:17:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 31644-done <at> debbugs.gnu.org (full text, mbox):
On 29/05/18 09:16, Kamil Dudka wrote:
> Re-posting with a fresh subject. debbugs.gnu.org rejected my original post
> because the original bug has been closed and has received no comments for more
> than 28 days:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30814
>
>
> On Wednesday, March 14, 2018 7:40:31 PM CEST Pádraig Brady wrote:
>> Given the increase in supported size should only impact relatively few
>> languages it probably makes sense to increase to 12. The attached does that
>> and also augments the test to find ambiguous cases.
>
> The ls/abmon-align test does not work today (May 29th) because of the added
> check. The problem is that:
>
> touch '-d+N month' for N={01..12}
>
> ... in general does not create 12 files with timestamps in different months.
>
> If you run it today (May 29th), touch '-d+09 month' results in March 1st while
> touch '-d+10 month' results in March 29th. Consequently, both 09.ts and 10.ts
> have the same month (March) to begin with and the check for duplicates has to
> fail:
That was a latent issue with the original test, which I've
now pushed a fix for at:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=c8eb21c
I've a local prototype to address the more general gotcha here
wrt relative date adjustments, which I hope to push soon.
thanks!
Pádraig
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#31644
; Package
coreutils
.
(Wed, 30 May 2018 07:51:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 31644-done <at> debbugs.gnu.org (full text, mbox):
On Tuesday, May 29, 2018 7:16:43 PM CEST Pádraig Brady wrote:
> On 29/05/18 09:16, Kamil Dudka wrote:
> > Re-posting with a fresh subject. debbugs.gnu.org rejected my original
> > post
> > because the original bug has been closed and has received no comments for
> > more than 28 days:
> >
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30814
> >
> > On Wednesday, March 14, 2018 7:40:31 PM CEST Pádraig Brady wrote:
> >> Given the increase in supported size should only impact relatively few
> >> languages it probably makes sense to increase to 12. The attached does
> >> that
> >> and also augments the test to find ambiguous cases.
> >
> > The ls/abmon-align test does not work today (May 29th) because of the
> > added
> >
> > check. The problem is that:
> > touch '-d+N month' for N={01..12}
> >
> > ... in general does not create 12 files with timestamps in different
> > months.
> >
> > If you run it today (May 29th), touch '-d+09 month' results in March 1st
> > while touch '-d+10 month' results in March 29th. Consequently, both
> > 09.ts and 10.ts have the same month (March) to begin with and the check
> > for duplicates has to
> > fail:
> That was a latent issue with the original test, which I've
> now pushed a fix for at:
> https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=c8eb21c
This works for me. Thanks!
Kamil
> I've a local prototype to address the more general gotcha here
> wrt relative date adjustments, which I hope to push soon.
>
> thanks!
> Pádraig
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Jun 2018 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.