From 74e3b497c4149b6b5265f3512e78225621a1cf74 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 24 Mar 2016 08:38:38 +0200 Subject: [PATCH] Fix testcase * tests/time02.at: Sort tar -d output --- tests/time02.at | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/time02.at b/tests/time02.at index c55b8ce1..be0360de 100644 --- a/tests/time02.at +++ b/tests/time02.at @@ -21,6 +21,7 @@ AT_SETUP([time: clamping mtime]) AT_KEYWORDS([time time02]) AT_TAR_CHECK([ +AT_SORT_PREREQ export TZ=UTC0 mkdir dir @@ -30,9 +31,9 @@ touch -d 2016-02-01T00:00:00 dir/c >/dev/null 2>&1 || AT_SKIP_TEST touch -d 2038-01-01T00:00:00 dir/d >/dev/null 2>&1 || AT_SKIP_TEST tar -c --mtime 2016-01-15T00:00:00 --clamp-mtime -f archive.tar dir -tar -d -f archive.tar dir +tar -d -f archive.tar dir|sort ], -[1], +[0], [ dir/c: Mod time differs dir/d: Mod time differs -- 2.47.2