[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] [GNU cpio 2.11] testsuite: 5 failed
From: |
Victor Rodriguez |
Subject: |
[Bug-cpio] [GNU cpio 2.11] testsuite: 5 failed |
Date: |
Tue, 2 Jun 2015 12:01:31 -0500 |
Hi team
Aparently there is a bug in build time test of cpio:
## ------------------------- ##
## GNU cpio 2.11 test suite. ##
## ------------------------- ##
1: cpio version ok
2: basic functionality: copyin/copyout ok
3: symlink ok
4: interdir ok
5: symlink-bad-length FAILED
(symlink-bad-length.at:46)
6: symlink-long ok
7: symlink-long ok
8: delayed setstat ok
9: delayed setstat (with -depth) ok
10: delayed setstat (copy-pass) ok
11: delayed setstat (umask) ok
12: delayed setstat (umask, copy-pass) ok
Checking the logs :
/testsuite.dir/05/stderr
cpio: premature end of file
testsuite.log :
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: All 12 tests were run,
1 failed unexpectedly.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU cpio 2.11 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
5: symlink-bad-length.at:23 symlink-bad-length
symlink-long copyout
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
# -*- compilation -*-
5. symlink-bad-length.at:23: testing symlink-bad-length ...
./symlink-bad-length.at:46:
base64 -d ARCHIVE.base64 > ARCHIVE || exit 77
TZ=UTC cpio -ntv < ARCHIVE 2>stderr
cat stderr | grep -v \
-e 'stored filename length is out of range' \
-e 'premature end of file' \
-e 'archive header has reverse byte-order' \
-e 'memory exhausted' \
-e 'skipped [0-9][0-9]* bytes of junk' \
-e '[0-9][0-9]* block' \
>&2
echo >&2 STDERR
--- - 2015-06-02 09:55:31.243497680 +0000
+++ /builddir/build/BUILD/cpio-2.11/tests/testsuite.dir/at-groups/5/stdout
2015-06-02 09:55:31.241557412 +0000
@@ -1,2 +1,2 @@
--rw-rw-r-- 1 10029 10031 13 Nov 25 11:52 FILE
+-rw-rw-r-- 1 10029 10031 13 Nov 25 2014 FILE
5. symlink-bad-length.at:23: 5. symlink-bad-length
(symlink-bad-length.at:23): FAILED (symlink-bad-length.at:46)
I am using the latest version and with latest patches:
https://download.clearlinux.org/current/source/SRPMS/cpio-2.11-13.src.rpm
( even with ./configure make and make check it fails )
Hope it helps
Thanks a lot for the help
Victor Rodriguez
- [Bug-cpio] [GNU cpio 2.11] testsuite: 5 failed,
Victor Rodriguez <=