76b6d9
commit a2211c76c3b994099fd58a06d6072d7495d699cd
76b6d9
Author: Florian Weimer <fweimer@redhat.com>
76b6d9
Date:   Fri Mar 18 18:18:35 2022 +0100
76b6d9
76b6d9
    scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing
76b6d9
    
76b6d9
    The elf/dso-sort-tests-src subdirectory is not changed by this commit,
76b6d9
    so it seems that the cut-and-paste error was not material.
76b6d9
    
76b6d9
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
76b6d9
76b6d9
diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py
76b6d9
index bde0406be9da14fc..ee476c810c76f1b0 100644
76b6d9
--- a/scripts/dso-ordering-test.py
76b6d9
+++ b/scripts/dso-ordering-test.py
76b6d9
@@ -551,17 +551,17 @@ def process_testcase(t):
76b6d9
         if obj in t.deps:
76b6d9
             deps = t.deps[obj]
76b6d9
             if '*' in deps:
76b6d9
-                t.deps[obj].remove('*')
76b6d9
+                deps.remove('*')
76b6d9
                 t.add_deps([obj], non_dep_tgt_objs)
76b6d9
         if obj in t.callrefs:
76b6d9
             deps = t.callrefs[obj]
76b6d9
             if '*' in deps:
76b6d9
-                t.deps[obj].remove('*')
76b6d9
+                deps.remove('*')
76b6d9
                 t.add_callrefs([obj], non_dep_tgt_objs)
76b6d9
     if "#" in t.deps:
76b6d9
         deps = t.deps["#"]
76b6d9
         if '*' in deps:
76b6d9
-            t.deps["#"].remove('*')
76b6d9
+            deps.remove('*')
76b6d9
             t.add_deps(["#"], non_dep_tgt_objs)
76b6d9
 
76b6d9
     # If no main program was specified in dependency description, make a