--delete-unspecified -> --no-delete-unspecified. Controls whether illegal outputs deleted.
test/delwhenfail: Add mkdir cases