core test /tset/POSIX.os/files/ftruncate/T.ftruncate 2, truncate/T.truncate 3 FAIL sles11/s390
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
Fix Committed
|
Medium
|
Unassigned | ||
Mandriva |
Won't Fix
|
Medium
|
Bug Description
Seeing these fail in beta test runs in the sles11/s390 chroot:
/tset/POSIX.
Message from the test:
Checks the ftruncate() for error value of EINVAL
ftruncate() expected to return 0, expected to return -1
/tset/POSIX.
Message from the test:
Checks the truncate() for error value of EINVAL
truncate() expected to return 0, expected to return -1
These were recent additions. The assertion is:
* This test case checks for error value EINVAL.
* If the lenth argument is less than 0,
* then truncate will return -1 with errno set to EINVAL
*/
with the test call of:
ret = truncate(
if (ret != -1) {
-1",ret);
}
ftruncate setup is the same.
Apparently -1 isn't an invalid length on s390.
Message language could be clarified a bit too.
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |