X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2FT-null.at;h=795f64dd55174c49fe3eab6ee0832b5fe8a64e61;hb=f86e0605d0e24d2e0424579a8310f6fb81375b92;hp=8f42e5b6a6dc20978bb8adcb3a379f160f3bd292;hpb=cd7bdd4076ca154575bbef85eb2157e59befcfe2;p=chaz%2Ftar diff --git a/tests/T-null.at b/tests/T-null.at index 8f42e5b..795f64d 100644 --- a/tests/T-null.at +++ b/tests/T-null.at @@ -1,7 +1,7 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright 2006-2007, 2013 Free Software Foundation, Inc. +# Copyright 2006-2007, 2013-2014 Free Software Foundation, Inc. # This file is part of GNU tar. @@ -18,30 +18,28 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -AT_SETUP([files-from: 0-separated file without -0]) +AT_SETUP([0-separated file without -0]) AT_KEYWORDS([files-from null T-null]) -AT_DATA([expout],[jeden\ndwa -trzy -]) - AT_TAR_CHECK([ AT_SORT_PREREQ -echo dwa > temp +echo jeden > temp +echo dwa >> temp echo trzy >> temp -cat temp | tr '\n' '\0' > temp1 -echo jeden > file-list -cat temp1 >> file-list +cat temp | tr '\n' '\0' > file-list -genfile -f "jeden -dwa" || AT_SKIP_TEST +genfile -f jeden +genfile -f dwa genfile -f trzy -tar cfTv archive file-list | sort +tar cfTv archive file-list ], [0], -[expout], +[jeden +dwa +trzy +], [tar: file-list: file name read contains nul character ],[],[],[ustar]) # Testing one format is enough