$ test/test_dos.py PPDOSGITTestCase.test_fat_ds3_share_open_setfattrs_one_process
Test PP-DOS-GIT FAT DOSv3 share open set file attrs one process DOSv2 ... FAIL (one or more subtests)
(t=('SH_COMPAT', 'R', 'ALLOW')) ... FAIL
(t=('SH_COMPAT', 'W', 'ALLOW')) ... FAIL
(t=('SH_COMPAT', 'RW', 'ALLOW')) ... FAIL
$ test/test_dos.py MSDOS622TestCase.test_fat_ds3_share_open_setfattrs_one_process
Test MS-DOS-6.22 FAT DOSv3 share open set file attrs one process DOSv2 ... ok ( 3.04s)
----------------------------------------------------------------------
Ran 1 test in 3.069s
OK
It seems that share needs to allow a single process to delete/rename/setattr an open file if it was opened in SH_COMPAT mode. See https://github.com/dosemu2/dosemu2/issues/1617. Currently the operation is denied, but it can be seen on MS-DOS 6.22 that it should succeed. There is a test https://github.com/andrewbird/dosemu2/tree/t9 that shows the issue.