[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] x86/Solaris test failure (25, 28)
From: |
Matthew Woehlke |
Subject: |
[Bug-tar] x86/Solaris test failure (25, 28) |
Date: |
Wed, 07 Mar 2007 11:48:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.0 |
First, a build failure: I had to change src/xheader.c:1097:
- const struct timespec mtime = data ? *(struct timespec *) data :
st->mtime;
+ const struct timespec mtime = data ? *(const struct timespec *) data
: st->mtime;
(seems like a pedantic compiler thing, but...)
Tests 25 and 28 failed. Test 55... took a really, really long time but
eventually passed.
$ uname -srvmpio
SunOS 5.10 Generic i86pc i386 i86pc Solaris
$ cc -V
cc: Sun C 5.7 2005/01/07
Logs attached. Hmm... and they only fail if the tests are run from an
NFS volume (or at least, they passed when run from swap).
--
Matthew
This message includes NO WARRANTY, not even the implied warranties of
READABILITY or RELEVANCE TO A PARTICULAR TOPIC. Read at your own risk. ;-)
# -*- compilation -*-
25. incremental.at:23: testing ...
./incremental.at:58:
mkdir gnu
(cd gnu
TEST_TAR_FORMAT=gnu
export TEST_TAR_FORMAT
TAR_OPTIONS="-H gnu"
export TAR_OPTIONS
rm -rf *
mkdir structure
echo x >structure/file
# On Nextstep (and perhaps other 4.3BSD systems),
# a newly created file's ctime isn't updated
# until the next sync or stat operation on the file.
ls -l structure/file >/dev/null
# If the time of an initial backup and the creation time of a file contained
# in that backup are the same, the file will be backed up again when an
# incremental backup is done, because the incremental backup backs up
# files created `on or after' the initial backup time. Without the sleep
# command, behaviour of tar becomes variable, depending whether the system
# clock ticked over to the next second between creating the file and
# backing it up.
sleep 1
tar cf archive --listed=list structure
tar cfv archive --listed=list structure
echo separator
sleep 1
echo y >structure/file
tar cfv archive --listed=list structure
)
--- - 2007-03-07 09:23:34.539141599 -0800
+++ /path/to/tar-1.16.1/tests/testsuite.dir/at-stdout 2007-03-07
09:21:44.401346000 -0800
@@ -1,5 +1,4 @@
structure/
separator
structure/
-structure/file
25. incremental.at:23: 25. incremental (incremental.at:23): FAILED
(incremental.at:58)
# -*- compilation -*-
28. listed01.at:26: testing ...
./listed01.at:60:
mkdir gnu
(cd gnu
TEST_TAR_FORMAT=gnu
export TEST_TAR_FORMAT
TAR_OPTIONS="-H gnu"
export TAR_OPTIONS
rm -rf *
mkdir directory
genfile --length 10240 --pattern zeros --file directory/file1
# Let the things settle
sleep 1
tar --create \
--file=archive.1 \
--listed-incremental=listing \
directory/file*
tar tf archive.1 || exit 1
sleep 1
genfile --length 10240 --pattern zeros --file directory/file2
echo "separator"
tar --create \
--file=archive.2 \
--listed-incremental=listing \
directory/file* || exit 1
tar tf archive.2 || exit 1
)
--- - 2007-03-07 09:23:52.973963066 -0800
+++ /path/to/tar-1.16.1/tests/testsuite.dir/at-stdout 2007-03-07
09:22:02.837890000 -0800
@@ -1,4 +1,3 @@
directory/file1
separator
-directory/file2
28. listed01.at:26: 28. --listed for individual files (listed01.at:26): FAILED
(listed01.at:60)
- [Bug-tar] x86/Solaris test failure (25, 28),
Matthew Woehlke <=