coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils-8.14.116-1e18d on AIX 5.1


From: Bruno Haible
Subject: coreutils-8.14.116-1e18d on AIX 5.1
Date: Thu, 05 Jan 2012 04:23:39 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

>   http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz

On AIX 5.1, there are 1 framework failure and 5 test failures.


ERROR: misc/printenv
====================

grep: Maximum line length of 2048 exceeded.
grep: Maximum line length of 2048 exceeded.
printenv: set-up failure: 


FAIL: rm/unread3
================

rm: unable to record current working directory: Too many open files
rm: unable to record current working directory: Too many open files


FAIL: misc/printf
=================

printf: -2147483649: Result too large
*** exp Wed Jan  4 22:28:46 2012
--- out Wed Jan  4 22:28:45 2012
***************
*** 8,11 ****
--- 8,12 ----
  8 =y =y =y =y
  9 0 x
  10 0x
+ x
  11  x

Indeed: On this platform

$ ./printf '%.*dx\n' 2147483648
./printf: 2147483648: A return value of a math subroutine is not within 
machine precision.
x
./printf: write error: There is not enough memory available now.

whereas on a glibc system:

$ /usr/bin/printf '%.*dx\n' 2147483648
/usr/bin/printf: invalid precision: 2147483648


FAIL: misc/printf-cov
=====================

printf: test d-big-prec: stderr mismatch, comparing d-big-prec.E (actual) and 
d-big-prec.1 (expected)
*** d-big-prec.E        Wed Jan  4 22:28:47 2012
--- d-big-prec.1        Wed Jan  4 22:28:47 2012
***************
*** 1,2 ****
! printf: 2147483648: Result too large
! printf: write error: Not enough space
--- 1 ----
! printf: invalid precision: 2147483648
printf: test d-big-fwidth: stderr mismatch, comparing d-big-fwidth.E (actual) 
and d-big-fwidth.1 (expected)
*** d-big-fwidth.E      Wed Jan  4 22:28:47 2012
--- d-big-fwidth.1      Wed Jan  4 22:28:47 2012
***************
*** 1,2 ****
! printf: 2147483648: Result too large
! printf: write error: Not enough space
--- 1 ----
! printf: invalid field width: 2147483648


FAIL: misc/timeout-parameters
=============================

timeout: invalid time interval `invalid'
Try `timeout --help' for more information.
timeout: invalid time interval `invalid'
Try `timeout --help' for more information.
timeout: invalid time interval `42D'
Try `timeout --help' for more information.
expr: 4294967295: Result too large
timeout: invalid time interval `d'
Try `timeout --help' for more information.
timeout: invalid: invalid signal
Try `timeout --help' for more information.
timeout: failed to run command `.': Permission denied
timeout: failed to run command `no_such': No such file or directory

The execution log shows these details:

+ expr 4294967295 / 86400 + 1
expr: 4294967295: Result too large
+ timeout d sleep 0
timeout: invalid time interval `d'
Try `timeout --help' for more information.
+ test 125 = 0
+ fail=1

The expr command failed:
$ /bin/expr 4294967295 / 86400 + 1
49711
$ ../src/expr 4294967295 / 86400 + 1
../src/expr: 4294967295: A return value of a math subroutine is not within 
machine precision.

This error comes from expr.c:478.

Is 'expr' required to recognize integers outside of the 'int' range?
If yes: bug in 'expr'. If no: bug in the test.


FAIL: misc/tr
=============

tr: test bs-at-end.r: stderr mismatch, comparing bs-at-end.r.E (actual) and 
bs-at-end.r.3 (expected)
*** bs-at-end.r.E       Wed Jan  4 22:31:17 2012
--- bs-at-end.r.3       Wed Jan  4 22:31:17 2012
***************
*** 0 ****
--- 1 ----
+ tr: warning: an unescaped backslash at end of string is not portable
tr: test bs-at-end.p: stderr mismatch, comparing bs-at-end.p.E (actual) and 
bs-at-end.p.3 (expected)
*** bs-at-end.p.E       Wed Jan  4 22:31:17 2012
--- bs-at-end.p.3       Wed Jan  4 22:31:17 2012
***************
*** 0 ****
--- 1 ----
+ tr: warning: an unescaped backslash at end of string is not portable


Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]