We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43da969 commit 32df539Copy full SHA for 32df539
1 file changed
tests/_utils.rs
@@ -227,7 +227,11 @@ impl SampleWorkspace {
227
228
let file_path = if index <= half {
229
let file_name = format!("link0-{index}.txt"); // file name from only-hardlinks/mixed
230
- temp.join("only-hardlinks/mixed").join(file_name)
+ let file_path = temp.join("only-hardlinks/mixed").join(file_name);
231
+ if let Err(error) = write_file(&file_path, "a".repeat(bytes_per_file)) {
232
+ panic!("Failed to write {bytes_per_file} bytes to {file_path:?}: {error}");
233
+ }
234
+ file_path
235
} else {
236
let file_name = format!("file-{index}.txt"); // file name from some-hardlinks
237
temp.join("some-hardlinks").join(file_name)
0 commit comments