Skip to content

Commit 20a8ec2

Browse files
committed
Set permission to the build folder
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent 21ff81e commit 20a8ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_unlink_backup_windows(self):
451451
treeroot = join(self.tmpdir, 'rootparent')
452452
shutil.copytree(join(TESTS, '11permission'), treeroot)
453453
pto = patch_ng.fromfile(join(TESTS, '11permission', '11permission.patch'))
454-
some_file = join(TESTS, '11permission', 'some_file')
454+
some_file = join(treeroot, 'some_file')
455455
chmod(some_file, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
456456
self.assertTrue(pto.apply(root=treeroot))
457457
self.assertTrue(os.stat(some_file).st_mode, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)

0 commit comments

Comments
 (0)