test/path: Avoid creating ignored test devices