debug_info_test: fix up naming

This replaces 'whitelist' with 'allowlist' in debug_info_test's file
names, as a follow up to the previous NFC CL's cleanups.

BUG=chromium:1099035
TEST=CQ+1

Change-Id: I0e99fa230a78251a6a555941db6f4758d0cf9367
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2265050
Reviewed-by: Tiancong Wang <tcwang@google.com>
Tested-by: George Burgess <gbiv@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
diff --git a/debug_info_test/allowlist.py b/debug_info_test/allowlist.py
index 978b237..9cf42af 100644
--- a/debug_info_test/allowlist.py
+++ b/debug_info_test/allowlist.py
@@ -43,11 +43,10 @@
   return re.compile('|'.join(patterns))
 
 
-# FIXME: s/whitelist/allowlist/ in the file extension.
 def load_allowlists(dirname):
   """Load allowlists under dirname.
 
-  An allowlist ends with .whitelist.
+  An allowlist ends with .allowlist.
 
   Args:
     dirname: path to the dir.
@@ -56,7 +55,7 @@
     A dictionary of 'filename' -> allowlist matcher.
   """
   wlist = {}
-  for fn in glob.glob(os.path.join(dirname, '*.whitelist')):
+  for fn in glob.glob(os.path.join(dirname, '*.allowlist')):
     key = os.path.splitext(os.path.basename(fn))[0]
     with open(fn, 'r', encoding='utf-8') as f:
       patterns = f.read().splitlines()
diff --git a/debug_info_test/exist_debug_info.whitelist b/debug_info_test/exist_debug_info.allowlist
similarity index 100%
rename from debug_info_test/exist_debug_info.whitelist
rename to debug_info_test/exist_debug_info.allowlist
diff --git a/debug_info_test/exist_producer.whitelist b/debug_info_test/exist_producer.allowlist
similarity index 100%
rename from debug_info_test/exist_producer.whitelist
rename to debug_info_test/exist_producer.allowlist
diff --git a/debug_info_test/ngcc_comp_path.whitelist b/debug_info_test/ngcc_comp_path.allowlist
similarity index 100%
rename from debug_info_test/ngcc_comp_path.whitelist
rename to debug_info_test/ngcc_comp_path.allowlist
diff --git a/debug_info_test/ngcc_dso_path.whitelist b/debug_info_test/ngcc_dso_path.allowlist
similarity index 100%
rename from debug_info_test/ngcc_dso_path.whitelist
rename to debug_info_test/ngcc_dso_path.allowlist