libctf: check for problems with error returns
authorNick Alcock <nick.alcock@oracle.com>
Wed, 11 Oct 2023 14:15:16 +0000 (15:15 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 18 Oct 2023 11:41:00 +0000 (12:41 +0100)
commit29736fc507c7a9c6e797b7f83e8df4be73d37767
tree6fd1f5f6be777d9976c29851c03688cd5bc3107a
parentfded0fb898618b5b659762ace776144afa876035
libctf: check for problems with error returns

We do this as a writable test because the only known-affected platforms
(with ssize_t longer than unsigned long) use PE, and we do not have support
for CTF linkage in the PE linker yet.

PR libctf/30836
* libctf/testsuite/libctf-writable/libctf-errors.*: New test.
libctf/testsuite/libctf-writable/libctf-errors.c [new file with mode: 0644]
libctf/testsuite/libctf-writable/libctf-errors.lk [new file with mode: 0644]