]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix the broken mtree test. Joerg recently made the mtree parser
authorTim Kientzle <kientzle@gmail.com>
Tue, 20 May 2008 21:45:46 +0000 (17:45 -0400)
committerTim Kientzle <kientzle@gmail.com>
Tue, 20 May 2008 21:45:46 +0000 (17:45 -0400)
a bit stricter; 'type' is now a required keyword, in keeping
with the expectations of mtree(8).

SVN-Revision: 80

libarchive/test/test_read_format_mtree.c

index e5165d31fbe5984390ec10b53e249c894947248c..b2fdbb883491be903b025d9c6426679d54d8c266 100644 (file)
@@ -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"
 };