[PATCH 2/2] testsuite/dl02: Fix bug to correctly check the handle of the second object file

Hesham Almatary Hesham.Almatary at cl.cam.ac.uk
Mon Nov 11 12:29:16 UTC 2019


---
 testsuites/libtests/dl02/dl-load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/libtests/dl02/dl-load.c b/testsuites/libtests/dl02/dl-load.c
index 2e76c2dea6..b7a5fc54d4 100644
--- a/testsuites/libtests/dl02/dl-load.c
+++ b/testsuites/libtests/dl02/dl-load.c
@@ -69,7 +69,7 @@ int dl_load_test(void)
   if (!o1)
     return 1;
   o2 = dl_load_obj("/dl02-o2.o");
-  if (!o1)
+  if (!o2)
     return 1;
 
 #if DL_RTL_CMDS
-- 
2.17.1



More information about the devel mailing list