Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/33931 )
Change subject: flashchips.c: Sort file by vendor and model ......................................................................
Patch Set 7: Code-Review+2
[...] By sorting and diffing each of {orig,sorted}_entries files, I was able to verify that for every line in the orig_entries file there was an identical line in the sorted_entries file.
This shows that the entries in the before and after versions of flashchips.c are textually identical, apart from their order.
Thanks Alan for the elaborate description. However, my inner stickler says that such checking should be left to the reviewer. My second idea was pretty much like what you did with awk, so I had to come up with something else: I used `csplit` to extract the entries and some sed-foo to name each file after the vendor-chip and compared the resulting directories with `diff -r`: no complaints :)
I guess all that together is enough testing.