On Wednesday 17 of December 2014 08:11:27 Pavel Raiskup wrote: > * tests/T-dir00.at: Call AT_SORT_PREREQ, sort the 'tar x' stdout. > * tests/T-dir01.at: Likewise.
This is still problem on my Fedora box: ... 18: entries with missing newlines ok 19: recursive extraction from --files-from FAILED (T-dir00.at:30) 20: trailing slash in --files-from FAILED (T-dir01.at:30) Various options 21: tar --index-file=FILE --file=- ok .... Sending the fix again (attached). Pavel
>From 3809ce5a6ed9bacfcf29ee1d5206d07f1d962035 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup <[email protected]> Date: Wed, 17 Dec 2014 07:22:28 +0100 Subject: [PATCH] testsuite: sort (otherwise random) expected output * tests/T-dir00.at: Call AT_SORT_PREREQ, sort the 'tar x' stdout. * tests/T-dir01.at: Likewise. --- tests/T-dir00.at | 3 ++- tests/T-dir01.at | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/T-dir00.at b/tests/T-dir00.at index 7f89fcf..8ff6ba8 100644 --- a/tests/T-dir00.at +++ b/tests/T-dir00.at @@ -28,13 +28,14 @@ AT_SETUP([recursive extraction from --files-from]) AT_KEYWORDS([files-from extract T-dir T-dir00]) AT_TAR_CHECK([ +AT_SORT_PREREQ mkdir dir genfile -f dir/file1 genfile -f dir/file2 tar cf archive dir rm -rf dir echo dir > list -tar xfTv archive list +tar xfTv archive list | sort ], [0], [dir/ diff --git a/tests/T-dir01.at b/tests/T-dir01.at index 155a373..db92292 100644 --- a/tests/T-dir01.at +++ b/tests/T-dir01.at @@ -28,13 +28,14 @@ AT_SETUP([trailing slash in --files-from]) AT_KEYWORDS([files-from extract T-dir T-dir01]) AT_TAR_CHECK([ +AT_SORT_PREREQ mkdir dir genfile -f dir/file1 genfile -f dir/file2 tar cf archive dir rm -rf dir echo dir/ > list -tar xfTv archive list +tar xfTv archive list | sort ], [0], [dir/ -- 2.1.0
