fix rdoctor tests to run clean on linux