diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-24 13:47:10 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-27 13:12:16 -0300 |
commit | 2c44452b6180bffd694575f9fc1c01e671e498b5 (patch) | |
tree | e013ceea7fa84930481d73bf5fba8ff65bc23975 /nptl/Makefile | |
parent | d85ad0e58a068623a09a4a3463dce3bf411c8cb4 (diff) | |
download | glibc-2c44452b6180bffd694575f9fc1c01e671e498b5.tar glibc-2c44452b6180bffd694575f9fc1c01e671e498b5.tar.gz glibc-2c44452b6180bffd694575f9fc1c01e671e498b5.tar.bz2 glibc-2c44452b6180bffd694575f9fc1c01e671e498b5.zip |
nptl: Add pthread_attr_setaffinity_np failure test
It checks whether an invalid affinity mask does return an error,
similar to what sysdeps/pthread/tst-bad-schedattr.c does for
pthread_attr_setschedparam.
Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 16eaf58948..9a5628b751 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -286,6 +286,7 @@ tests = tst-attr2 tst-attr3 tst-default-attr \ tst-exec4 tst-exec5 \ tst-stack2 tst-stack3 tst-stack4 \ tst-pthread-attr-affinity \ + tst-pthread-attr-affinity-fail \ tst-dlsym1 \ tst-context1 \ tst-sched1 \ |