From: Tim Kientzle Date: Tue, 20 May 2008 21:45:46 +0000 (-0400) Subject: Fix the broken mtree test. Joerg recently made the mtree parser X-Git-Tag: v2.6.0~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc665d69a1a990bb96b64dcabc3455ca74a1ca2d;p=thirdparty%2Flibarchive.git Fix the broken mtree test. Joerg recently made the mtree parser a bit stricter; 'type' is now a required keyword, in keeping with the expectations of mtree(8). SVN-Revision: 80 --- diff --git a/libarchive/test/test_read_format_mtree.c b/libarchive/test/test_read_format_mtree.c index e5165d31f..b2fdbb883 100644 --- a/libarchive/test/test_read_format_mtree.c +++ b/libarchive/test/test_read_format_mtree.c @@ -32,18 +32,18 @@ static unsigned char archive[] = { "dir type=dir\n" " file\\040with\\040space type=file uid=18\n" " ..\n" - "file\\04with\\040space\n" + "file\\04with\\040space type=file\n" "dir2 type=dir\n" " dir3a type=dir\n" - " indir3a\n" + " indir3a type=file\n" "dir2/fullindir2 type=file mode=0777\n" " ..\n" - " indir2\n" + " indir2 type=file\n" " dir3b type=dir\n" - " indir3b\n" + " indir3b type=file\n" " ..\n" " ..\n" - "notindir\n" + "notindir type=file\n" "dir2/fullindir2 mode=0644\n" };