Run copy_modified in upgrade tests (#4952)

This allows running the following command to update the expected files
with normalized output files for upgrade tests too:

```bash
cp src/test/regress/{results,expected}/upgrade_rebalance_strategy_before.out
```
pull/4953/head^2
Jelte Fennema 2021-05-05 12:28:05 +02:00 committed by GitHub
parent 50357db957
commit 0e6c080e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ def run_pg_regress(pg_path, pg_srcdir, port, schedule):
'--use-existing'
]
exit_code = subprocess.call(command)
subprocess.run('bin/copy_modified', check=True)
if exit_code != 0:
sys.exit(exit_code)