1 ## scrub_attrs test checking that update_test_checks.py works correctly
2 # RUN: cp -f %S/Inputs/scrub_attrs.ll %t.ll && %update_test_checks %t.ll
3 # RUN: diff -u %t.ll %S/Inputs/scrub_attrs.ll.plain.expected
4 ## Also try the --scrub-attributes flag
5 # RUN: %update_test_checks %t.ll --scrub-attributes
6 # RUN: diff -u %t.ll %S/Inputs/scrub_attrs.ll.scrub.expected
7 ## Check that running the script again does not change the result:
8 # RUN: %update_test_checks %t.ll
9 # RUN: diff -u %t.ll %S/Inputs/scrub_attrs.ll.scrub.expected