File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,11 @@ object ZipOpTests extends TestSuite {
412412 val newSource = os.pwd / " source"
413413 os.makeDir(newSource)
414414
415+ val newDir = newSource / " new" / " dir"
416+ os.makeDir.all(newDir)
417+ os.perms.set(newDir, os.PermSet .fromString(" rwxrwxrwx" ))
418+ os.write.over(newDir / " a.txt" , " Contents of a.txt" )
419+
415420 val newFile = os.sub / " new.txt"
416421 val perms = os.PermSet .fromString(" rw-rw-rw-" )
417422 os.write(newSource / newFile, " Contents of new.txt" )
@@ -422,7 +427,7 @@ object ZipOpTests extends TestSuite {
422427
423428 val newZipped = os.zip(
424429 dest = wd / " zipped.zip" ,
425- sources = List (newSource / newFile, newSource / newLink )
430+ sources = List (newSource)
426431 )
427432
428433 val newUnzipped = os.unzip(
You can’t perform that action at this time.
0 commit comments