[libcxx-commits] [PATCH] D119982: [libc++][AIX] Add AIX error message as expected output
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 17 09:10:25 PST 2022
Quuxplusone accepted this revision.
Quuxplusone added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp:34
LIBCPP_ASSERT(msg.rfind("Unknown error", 0) == 0);
+ #endif
assert(errno == E2BIG);
----------------
Seems reasonable to me, but please pull the preprocessor directives back to column 0:
```
#if defined(_AIX)
LIBCPP_ASSERT(msg.rfind("Error -1 occurred", 0) == 0);
#else
```
etc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119982/new/
https://reviews.llvm.org/D119982
More information about the libcxx-commits
mailing list