mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
x86-64: Update tst-glibc-hwcaps-2.c for x86-64 baseline
Return EXIT_FAILURE only if the level 2 libx86-64-isa-level.so is used on x86-64 baseline machine.
This commit is contained in:
@@ -51,7 +51,7 @@ do_test (void)
|
||||
case 2:
|
||||
/* The default libx86-64-isa-level.so is used. */
|
||||
printf ("The default shared library is used.\n");
|
||||
if (has_isa_v3 || has_isa_v4 || !has_isa_v2)
|
||||
if (has_isa_v3 || has_isa_v4 || (!has_isa_v2 && level == 2))
|
||||
ret = EXIT_FAILURE;
|
||||
else
|
||||
ret = EXIT_SUCCESS;
|
||||
|
Reference in New Issue
Block a user