X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2FT-null.at;h=5db5cf434e0eb756570cdec65704a55d47452398;hb=26538c9b;hp=8f42e5b6a6dc20978bb8adcb3a379f160f3bd292;hpb=8a834dfa1037758cb42123fd710048cebdc13e7b;p=chaz%2Ftar diff --git a/tests/T-null.at b/tests/T-null.at index 8f42e5b..5db5cf4 100644 --- a/tests/T-null.at +++ b/tests/T-null.at @@ -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