automation: set ret for potential error in build-test.sh
authorWei Liu <wei.liu2@citrix.com>
Wed, 27 Feb 2019 18:22:34 +0000 (18:22 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 5 Apr 2019 10:14:57 +0000 (11:14 +0100)
commit78798fb431362d2bbbc6261e442793c1d17290fb
tree9f673e175628528f13f2a5e8b7c0eef90c25d59c
parentf21a359a301d3a52c29452eaed7a964713ef48ea
automation: set ret for potential error in build-test.sh

`git rev-list` can fail if the base..tip range contains invalid
commit(s). If that happens ret never gets a chance to be set.

Set ret before hand to fix the issue.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/scripts/build-test.sh