[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Tar 1.15.1 test suite 2 20 pass/fail depending on filesystem o
From: |
Brandon Peirce |
Subject: |
[Bug-tar] Tar 1.15.1 test suite 2 20 pass/fail depending on filesystem ordering. |
Date: |
Wed, 30 Aug 2006 01:11:38 +0200 |
tar (GNU tar) 1.15.1 on i686 GNU/Linux 2.6.11.12
Running the testsuite in a directory of a mounted ext3 filesystem, all tests
pass systematically. Under identical conditions except that the test suite
is running in a directory of a mounted tmpfs filesystem, tests 2 and 20 fail
systematically.
The output looks correct except for the ordering.
Here are relevant extracts from the testsuite.log from the section "Detailed
failed tests." Note the diffs.
=== begin log extract ===
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
2. pipe.at:29: testing ...
pipe.at:50:
mkdir v7
(cd v7
TAR_OPTIONS="-H v7"
export TAR_OPTIONS
rm -rf *
mkdir directory
genfile --length 10240 --pattern zeros > directory/file1
genfile --length 13 > directory/file2
tar cf archive directory
mv directory orig
cat archive | tar xfv -
echo "separator"
cmp orig/file1 directory/file1
echo "separator"
cmp orig/file2 directory/file2)
--- - 2006-08-30 00:20:51.413708000 +0200
+++ /var/src/build/tar/bld/tests/testsuite.dir/at-stdout 2006-08-30
00:20:51.412437680 +0200
@@ -1,6 +1,6 @@
directory/
-directory/file1
directory/file2
+directory/file1
separator
separator
2. pipe.at:29: 2. decompressing from stdin (pipe.at:29): FAILED (pipe.at:50)
20. listed02.at:28: testing ...
listed02.at:148:
mkdir gnu
(cd gnu
TAR_OPTIONS="-H gnu"
export TAR_OPTIONS
rm -rf *
mkdir directory
echo Create directories
mkdir tart
sleep 1
mkdir tart/c0
sleep 1
mkdir tart/c1
sleep 1
for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
do
echo File $file > $file
sleep 1
done
sleep 1
echo Creating main archive
tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart || exit 1
sleep 1
echo Modifying filesystem
rm tart/a1
mv tart/b1 tart/b2
mv tart/c1 tart/c2
touch tart/c2/ca3
echo Directory contents
find tart|sort 2>/dev/null
sleep 1
echo Creating incremental archive
cp -p tart.incr1 tart.incr2
tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
sleep 1
rm -rf tart/*
echo Extracting main archive
tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
echo Extracting incremental archive
# This command should produce three messages about deletion
# of the existing files, that may appear in any order. Piping
# to sort makes sure we don't depend on any particular ordering.
tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
echo Final files:
find tart|sort 2>/dev/null
)
--- - 2006-08-30 00:21:11.297970000 +0200
+++ /var/src/build/tar/bld/tests/testsuite.dir/at-stderr 2006-08-30
00:21:11.296414856 +0200
@@ -1,4 +1,4 @@
-tar: tart/c0: Directory is new
tar: tart/c1: Directory is new
+tar: tart/c0: Directory is new
tar: tart/c2: Directory is new
20. listed02.at:28: 20. working --listed (listed02.at:28): FAILED
(listed02.at:148)
=== end of testsuite.log extract ===
Please let me know if you need further info. Should I send the entire log?
As attachment, or inline?
I will see if I can't try the same scenarios with version 1.15.91 tonight.
Brandon
- [Bug-tar] Tar 1.15.1 test suite 2 20 pass/fail depending on filesystem ordering.,
Brandon Peirce <=