X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fincremental.at;h=5873d83aa9baee16aec66d04cad318ead7d18b5a;hb=502abd93bd8bfba15677aceb221c4530d257bbab;hp=664ab3893c51e70660e3864fb41e1cf573625a3a;hpb=4d22cbd47cdc5e9a346351ced8c9667ab4bb8292;p=chaz%2Ftar diff --git a/tests/incremental.at b/tests/incremental.at index 664ab38..5873d83 100644 --- a/tests/incremental.at +++ b/tests/incremental.at @@ -1,11 +1,11 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, @@ -21,7 +21,7 @@ # A directory older than the listed entry was skipped completely. AT_SETUP([incremental]) -AT_KEYWORDS([incremental]) +AT_KEYWORDS([incremental incr00]) AT_TAR_CHECK([ mkdir structure @@ -44,7 +44,10 @@ sleep 1 tar cf archive --listed=list structure tar cfv archive --listed=list structure echo separator -sleep 1 +# ReiserFS often offsets the timestamps of newly created files +# 1 second to the past. Try to compensate for it, until a better +# solution is found. +sleep 2 echo y >structure/file tar cfv archive --listed=list structure ],