X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fextrac09.at;h=b7218ef8f2443b7b6fa8ea9b595382935ce2b4d0;hb=15c02c2b9d383446b3ea35dbea5a048e136b020d;hp=bde656f78708e6d603e52cc8102f05f44fcb6540;hpb=cd7bdd4076ca154575bbef85eb2157e59befcfe2;p=chaz%2Ftar diff --git a/tests/extrac09.at b/tests/extrac09.at index bde656f..b7218ef 100644 --- a/tests/extrac09.at +++ b/tests/extrac09.at @@ -1,7 +1,7 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright 2010, 2013 Free Software Foundation, Inc. +# Copyright 2010, 2013-2014 Free Software Foundation, Inc. # This file is part of GNU tar. @@ -18,10 +18,20 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# This checks for the --listed-incremental bug reported by J Chapman Flack at -# http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00000.html - -AT_SETUP([no need to save dir with unreadable . and ..]) +# This attempts to cause xgetcwd() to fail, and then checks to see if +# such failure causes tar to abort even in a case where the results of +# the call aren't actually needed. +# +# (xgetcwd() may fail e.g. on Solaris 10 when "." or ".." are unreadable. +# On most systems xgetcwd() won't fail even in that situation, but +# on those systems this test will simply succeed without actually testing +# anything within tar.) +# +# http://lists.gnu.org/archive/html/bug-tar/2010-07/msg00045.html +# +# (See also 'listed03.at'.) + +AT_SETUP([extracting even when . and .. are unreadable]) AT_KEYWORDS([extract extrac09]) AT_TAR_CHECK([