[PATCH] testsuite/dl02: Fix a bug to check that dl02-o2 is loaded

Hesham Almatary Hesham.Almatary at cl.cam.ac.uk
Mon Sep 24 12:54:23 UTC 2018


---
 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 601d621..2189773 100644
--- a/testsuites/libtests/dl02/dl-load.c
+++ b/testsuites/libtests/dl02/dl-load.c
@@ -53,7 +53,7 @@ int dl_load_test(void)
   if (!o1)
     return 1;
   o2 = dl_load_obj("/dl02-o2.o");
-  if (!o1)
+  if (!o2)
     return 1;
 
 #if 0
-- 
2.7.4



More information about the devel mailing list