We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a8a483 commit 944c5b6Copy full SHA for 944c5b6
mountpoint-s3/tests/reftests/harness.rs
@@ -1290,4 +1290,24 @@ mod mutations {
1290
0,
1291
)
1292
}
1293
+
1294
+ #[test]
1295
+ fn regression_put_nested_over_open_file() {
1296
+ run_test(
1297
+ TreeNode::Directory(BTreeMap::from([])),
1298
+ vec![
1299
+ Op::CreateFile(
1300
+ ValidName("a".into()),
1301
+ DirectoryIndex(0),
1302
+ FileContent(0, FileSize::Small(0)),
1303
+ ),
1304
+ Op::PutObject(
1305
1306
+ Name("a/-".into()),
1307
1308
1309
+ ],
1310
+ 0,
1311
+ )
1312
+ }
1313
0 commit comments