Lines Matching refs:test_path
333 let test_path = td.path().join("test.txt"); in test_get_xattr_empty() localVariable
336 File::create(&test_path).unwrap(); in test_get_xattr_empty()
338 let kvs = dump_xattrs(&test_path).unwrap(); in test_get_xattr_empty()
345 let test_path = td.path().join("test.txt"); in test_inline_xattr_from_path() localVariable
346 File::create(&test_path).unwrap(); in test_inline_xattr_from_path()
352 set_xattr(&test_path, xattr_key, value).unwrap(); in test_inline_xattr_from_path()
354 let xattrs = InlineXattrs::from_path(&test_path).unwrap(); in test_inline_xattr_from_path()
384 let test_path = td.path().join("test.txt"); in test_too_many_values_for_inline_xattr() localVariable
385 File::create(&test_path).unwrap(); in test_too_many_values_for_inline_xattr()
394 set_xattr(&test_path, key, value).unwrap(); in test_too_many_values_for_inline_xattr()
398 InlineXattrs::from_path(&test_path).unwrap_err(); in test_too_many_values_for_inline_xattr()
404 let test_path = td.path().join("test.txt"); in test_get_xattr() localVariable
405 File::create(&test_path).unwrap(); in test_get_xattr()
414 set_xattr(&test_path, key, value).unwrap(); in test_get_xattr()
417 let kvs = dump_xattrs(&test_path).unwrap(); in test_get_xattr()
435 let test_path = td.path().join("test.txt"); in test_get_xattr_symlink() localVariable
436 File::create(&test_path).unwrap(); in test_get_xattr_symlink()
437 set_xattr(&test_path, "user.name", "user.test.txt").unwrap(); in test_get_xattr_symlink()
441 std::os::unix::fs::symlink(&test_path, &symlink_path).unwrap(); in test_get_xattr_symlink()