testsuite: do not resist on file order in archive
On my Fedora 19 box, the exclude08 & exclude11 tests failed before this fix. The reason was that the directory traversing chosen the file order differently than the testsuite expected. * tests/exclude08.at: Sort the tarball content output. * tests/exclude09.at: Likewise. * tests/exclude10.at: Likewise. * tests/exclude11.at: Likewise. * tests/exclude12.at: Likewise. * tests/exclude13.at: Likewise. * tests/exclude14.at: Likewise. * tests/exclude15.at: Likewise. * tests/exclude16.at: Likewise.
This commit is contained in:
committed by
Sergey Poznyakoff
parent
cfebb3cedf
commit
cf199be81d
@@ -39,23 +39,24 @@ AT_SETUP([--exclude-tag option in incremental pass])
|
||||
AT_KEYWORDS([exclude exclude-tag listed incremental exclude10])
|
||||
|
||||
AT_TAR_CHECK([
|
||||
AT_SORT_PREREQ
|
||||
mkexcltest etest
|
||||
rm etest/subdir/excludeme
|
||||
decho "# Level 0"
|
||||
tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest
|
||||
tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest | sort
|
||||
touch etest/subdir/excludeme
|
||||
touch etest/subdir/otherfile
|
||||
|
||||
decho "# Level 1"
|
||||
cp snar-0 snar-1
|
||||
tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest
|
||||
tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest | sort
|
||||
],
|
||||
[0],
|
||||
[# Level 0
|
||||
etest/
|
||||
etest/subdir/
|
||||
etest/top-level-file
|
||||
etest/subdir/subdir-file
|
||||
etest/top-level-file
|
||||
# Level 1
|
||||
etest/
|
||||
etest/subdir/
|
||||
|
||||
Reference in New Issue
Block a user