bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] testsuite: 20 failed


From: Michael Carmack
Subject: [Bug-tar] testsuite: 20 failed
Date: Thu, 24 Mar 2005 03:26:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20050319


Trying to compile tar 1.15.1, testsuite 20 failed. Some other people reported this failing, and the problem was identified as a third-party "sort". I am using "sort" from gnu coreutils/5.2.1.

The testsuite log is attached.


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
)
--- -   2005-03-24 03:23:36.000000000 +0000
+++ /pkg/tar/1.15.1/SOURCE/CODE/tests/testsuite.dir/at-stdout   2005-03-24 
03:23:36.000000000 +0000
@@ -24,7 +24,6 @@
 tart/
 tart/c0/
 tart/c2/
-tart/b2
 tart/c2/ca1
 tart/c2/ca2
 tart/c2/ca3
@@ -43,7 +42,6 @@
 tar: Deleting `tart/b1'
 tar: Deleting `tart/c1'
 tart/
-tart/b2
 tart/c0/
 tart/c2/
 tart/c2/ca1
@@ -51,7 +49,6 @@
 tart/c2/ca3
 Final files:
 tart
-tart/b2
 tart/c0
 tart/c0/cq1
 tart/c0/cq2
20. listed02.at:28: 20. working --listed (listed02.at:28): FAILED 
(listed02.at:148)

reply via email to

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