Lines Matching defs:expect_file

3340         Otherwise, all resulting files must be checked using `expect_file`,
3363 def expect_file(self, name, type=None, symlink_to=None, mode=None):
3406 self.expect_file('benign.txt')
3415 self.expect_file('../escaped.evil')
3423 self.expect_file(f'{outerdir_stripped}/escaped.evil')
3452 self.expect_file('current', symlink_to='.')
3453 self.expect_file('parent', symlink_to='current/..')
3454 self.expect_file('../evil')
3471 self.expect_file('parent/evil')
3473 self.expect_file('parent/evil')
3475 self.expect_file('parent/evil')
3488 self.expect_file('current', symlink_to='.')
3489 self.expect_file('parent', symlink_to='..')
3490 self.expect_file('../evil')
3492 self.expect_file('current/')
3493 self.expect_file('parent/evil')
3503 self.expect_file('current/')
3504 self.expect_file('parent/evil')
3522 self.expect_file('parent', symlink_to=self.outerdir)
3523 self.expect_file('../evil')
3525 self.expect_file('parent/evil')
3535 self.expect_file('parent/evil')
3561 self.expect_file('../moo', symlink_to='..//tmp/moo')
3584 self.expect_file('tmp', type=tarfile.DIRTYPE)
3586 self.expect_file('../moo', symlink_to='tmp/../../tmp/moo')
3623 self.expect_file('all_bits', mode='?rwsrwsrwt')
3625 self.expect_file('all_bits', mode='?rwsrwsrwx')
3626 self.expect_file('perm_bits', mode='?rwxrwxrwx')
3627 self.expect_file('exec_group_other', mode='?rw-rwxrwx')
3628 self.expect_file('read_group_only', mode='?---r-----')
3629 self.expect_file('no_bits', mode='?---------')
3631 self.expect_file('dir/', mode='?---rwsrwt')
3633 self.expect_file('dir/', mode='?---rwsrwx')
3636 self.expect_file('all_bits', mode='?rwxr-xr-x')
3637 self.expect_file('perm_bits', mode='?rwxr-xr-x')
3638 self.expect_file('exec_group_other', mode='?rw-r-xr-x')
3639 self.expect_file('read_group_only', mode='?---r-----')
3640 self.expect_file('no_bits', mode='?---------')
3641 self.expect_file('dir/', mode='?---r-xr-x')
3646 self.expect_file('all_bits', mode='?rwxr-xr-x')
3647 self.expect_file('perm_bits', mode='?rwxr-xr-x')
3648 self.expect_file('exec_group_other', mode='?rw-r--r--')
3649 self.expect_file('read_group_only', mode='?rw-r-----')
3650 self.expect_file('no_bits', mode='?rw-------')
3651 self.expect_file('dir/', mode=normal_dir_mode)
3661 self.expect_file('foo', type=tarfile.FIFOTYPE)
3721 self.expect_file('foo')
3732 self.expect_file('ustar/regtype')
3744 self.expect_file('ustar/regtype')
3756 self.expect_file('ustar/regtype')
3778 self.expect_file('moved')
3779 self.expect_file('keep')
3813 self.expect_file('good')
3835 self.expect_file('file')
3838 self.expect_file('file')
3841 self.expect_file('file')
3852 self.expect_file('file')