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