• Home
  • Raw
  • Download

Lines Matching +full:libfuse +full:- +full:dev

46                                '-f', mnt_dir, '-o', ','.join(options) ]
48 # supports single-threading only
49 cmdline.append('-s')
55 name, mnt_dir, '-o', ','.join(options) ]
105 open(filename + 'does-not-exist', 'r+')
120 # Avoid false positives from libfuse debug messages
122 output_checker.register_output(r'^ unique: [0-9]+, error: -[0-9]+ .+$',
135 '--plus', '-f', mnt_dir ]
139 '-f', mnt_dir ]
141 cmdline.append('-d')
146 cmdline.append('-o')
185 syscall_test_cmd.append('-53')
202 cmdline.append('--foreground')
205 cmdline.append('--nocache')
251 # so opt-in for this test from kernel 5.14
253 syscall_test_cmd.append('-u')
271 cmdline = base_cmdline + [progname, '-f', mnt_dir ]
296 '-f', mnt_dir ]
318 cmdline = base_cmdline + [ progname, '-f', mnt_file ]
344 '-f', '--update-interval=1',
345 '--timeout=5', mnt_dir ]
347 cmdline.append('--no-notify')
349 cmdline.append('--only-expire')
351 pytest.skip('only-expire not supported by running kernel')
379 """Check that root can mount with dev and auto_unmount
380 (but non-root cannot).
381 Split into root vs non-root, so that the output of pytest
384 pytest.skip('needs to run as non-root')
388 src_dir = str('/dev')
391 '-o', f'source={src_dir},dev,auto_unmount',
392 '-f', mnt_dir ]
413 output_checker.register_output(r'^==([0-9]+).+unhandled ioctl.+\n'
417 devname = 'cuse-test-%d' % os.getpid()
418 devpath = '/dev/%s' % devname
421 '-f', '--name=%s' % devname ]
474 "-f", fuse_mountpoint]
592 os.chown(filename, uid_new, -1)
598 os.chown(filename, -1, gid_new)
685 # libfuse still considers the file to be open at this point
686 # and (since -o hard_remove is not used) renames it instead of
742 'fill up the buffer - ' * 3) + str(i)
783 os.truncate(filename, size - 1024)
784 assert os.stat(filename).st_size == size - 1024
786 assert fh.read(size) == TEST_DATA[:size-1024]
807 os.ftruncate(fd, size - 1024)
808 assert os.fstat(fd).st_size == size - 1024
810 assert fh.read(size) == TEST_DATA[:size-1024]
818 mtime = fstat.st_mtime - 42.23
823 mtime_ns = fstat.st_mtime_ns - int(42.23*1e9)
828 assert abs(fstat.st_atime - atime) < 1
829 assert abs(fstat.st_mtime - mtime) < 1
831 assert abs(fstat.st_atime_ns - atime_ns) <= ns_tol
832 assert abs(fstat.st_mtime_ns - mtime_ns) <= ns_tol