fix typo in regtest.sh

Change-Id: If6758764b52c53b09ca3094a386a174e7ba38be4