[Support] Make the SystemZ bot happy by using make_error_code.

This should fix the last issue on the SystemZ bot related to the broken symlink
test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Juergen Ributzka 2017-03-14 18:37:44 +00:00
parent bea559baff
commit c4630f9d5b

View File

@ -825,7 +825,8 @@ TEST_F(FileSystemTest, BrokenSymlinkDirectoryIteration) {
ASSERT_NO_ERROR(ec);
fs::file_status status;
if (i->status(status) == std::errc::no_such_file_or_directory) {
if (i->status(status) ==
std::make_error_code(std::errc::no_such_file_or_directory)) {
i.no_push();
continue;
}