1# REQUIRES: x86-registered-target 2## Basic test checking that update_test_checks.py works correctly 3# RUN: cp -f %S/Inputs/global_regex.ll %t.ll && %update_test_checks %t.ll --check-globals --global-value-regex "OnlyFoo" 4# RUN: diff -u %t.ll %S/Inputs/global_regex.ll.expected 5## Verify that running without the --global-value-regex flag respects UTC_ARGS 6# RUN: %update_test_checks %t.ll 7# RUN: diff -u %t.ll %S/Inputs/global_regex.ll.expected 8