GNU bug report logs -
#14477
[PATCH] tests: numfmt: use the printf program, not the shell builtin
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14477 in the body.
You can then email your comments to 14477 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#14477
; Package
coreutils
.
(Sun, 26 May 2013 22:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sun, 26 May 2013 22:08:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* tests/misc/numfmt.pl: Here. This avoids a spurious failure when
/bin/sh is dash (as can happen on Debian systems).
---
tests/misc/numfmt.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/misc/numfmt.pl b/tests/misc/numfmt.pl
index 61917fb..553f68b 100644
--- a/tests/misc/numfmt.pl
+++ b/tests/misc/numfmt.pl
@@ -887,7 +887,7 @@ if ($locale ne 'C')
{
# Reset locale to 'C' if LOCALE_FR_UTF8 doesn't output as expected
# as determined by the separate printf program.
- open(LOC_NUM, "LC_ALL=$locale printf \"%'d\" 1234|")
+ open(LOC_NUM, "env LC_ALL=$locale printf \"%'d\" 1234|")
or die "Can't fork command: $!";
my $loc_num = <LOC_NUM>;
close(LOC_NUM) || die "Failed to read grouped number from printf";
--
1.8.3.rc3.8.g5e49f30
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Sun, 26 May 2013 23:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 26 May 2013 23:21:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 14477-done <at> debbugs.gnu.org (full text, mbox):
On 05/26/2013 11:06 PM, Stefano Lattarini wrote:
> * tests/misc/numfmt.pl: Here. This avoids a spurious failure when
> /bin/sh is dash (as can happen on Debian systems).
> ---
> tests/misc/numfmt.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/misc/numfmt.pl b/tests/misc/numfmt.pl
> index 61917fb..553f68b 100644
> --- a/tests/misc/numfmt.pl
> +++ b/tests/misc/numfmt.pl
> @@ -887,7 +887,7 @@ if ($locale ne 'C')
> {
> # Reset locale to 'C' if LOCALE_FR_UTF8 doesn't output as expected
> # as determined by the separate printf program.
> - open(LOC_NUM, "LC_ALL=$locale printf \"%'d\" 1234|")
> + open(LOC_NUM, "env LC_ALL=$locale printf \"%'d\" 1234|")
> or die "Can't fork command: $!";
> my $loc_num = <LOC_NUM>;
> close(LOC_NUM) || die "Failed to read grouped number from printf";
>
Applied.
thanks,
Pádraig.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 Jun 2013 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.