test/diff-manifests: don't fail on diffs
The script isn't supposed to fail when the manifests differ. Initialise err to 0 and assign it the exit code of the diff call if it returns with an error.
This commit is contained in:
parent
dbd2ed6cc8
commit
321295e34d
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ greenprint "Generating all manifests for merge-base (${mergebase})"
|
|||
go run ./cmd/gen-manifests --output "${manifestdir}/${mergebase}" --workers 50 > /dev/null
|
||||
|
||||
greenprint "Diff: ${manifestdir}/${mergebase} ${manifestdir}/PR"
|
||||
diff=$(diff -r "${manifestdir}"/{"${mergebase}",PR})
|
||||
err=$?
|
||||
err=0
|
||||
diff=$(diff -r "${manifestdir}"/{"${mergebase}",PR}) || err=$?
|
||||
|
||||
review_data_file="review.json"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue