From: Charles Bailey Date: Sat, 29 Mar 2014 15:39:01 +0000 (+0000) Subject: tests: don't rely on strerror text when testing rmdir failure X-Git-Tag: v2.0.0-rc0~27^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/11b53902513c6d59f59594845ce53fe761f0894c?ds=inline;hp=11b53902513c6d59f59594845ce53fe761f0894c tests: don't rely on strerror text when testing rmdir failure AIX doesn't make a distiction between EEXIST and ENOTEMPTY; relying on the strerror string for the rmdir failure is fragile. Just test that the start of the string matches the Git controlled "failed to rmdir..." error. The exact text of the OS generated error string isn't important to the test. Signed-off-by: Charles Bailey Signed-off-by: Junio C Hamano ---