Merge pull request #67 from stephen679/tar_test_extra_missing

tar_test: don't check for extra/missing when validating relative to "."
This commit is contained in:
Vincent Batts 2016-08-12 09:04:06 -04:00 committed by GitHub
commit a63446dc6f
1 changed files with 0 additions and 12 deletions

View File

@ -276,12 +276,6 @@ func TestTreeTraversal(t *testing.T) {
for _, f := range res.Failures {
t.Errorf(f.String())
}
for _, e := range res.Extra {
t.Errorf("%s extra not expected", e.Name)
}
for _, m := range res.Missing {
t.Errorf("%s missing not expected", m.Name)
}
}
// Now test an archive that requires placeholder directories, i.e, there are
@ -311,12 +305,6 @@ func TestTreeTraversal(t *testing.T) {
for _, f := range res.Failures {
t.Errorf(f.String())
}
for _, e := range res.Extra {
t.Errorf("%s extra not expected", e.Name)
}
for _, m := range res.Missing {
t.Errorf("%s missing not expected", m.Name)
}
}
}