Quoting @alexpott from #2261477: Remove broken Drupal\system\Tests\ScriptTest:
As much as it pains me to remove these tests they are giving us a false sense of coverage. One issue is that these scripts are totally not multisite compatible which makes them very hard to test because we can't point them properly at the site under test.
So I'm going to commit this and set the issue to active and tag it "revisit before release" so we don;t forget to test these scripts and perhaps come up with a better way.