This commit adds two basic tests for these update script to validate that
they still work as expected. In the future we could extend these tests
whenever new features are added to avoid introducing regressions.
I am not sure this is the best approach for testing, but it did allow me to find a python2.7 compat issue that I introduced in D70432.
If this approach seems fine, I'll also add a basic test for the remaining update scripts.
What's the status of Python 3 compatibility of lit? Can we skip the tests if the legacy Python 2 is used?