Fix build-and-build-again bug in sunrpc tests.
commit8888eb5e6d0ca664671c312a1409166114699519
authorZack Weinberg <zackw@panix.com>
Mon, 14 Nov 2016 19:25:11 +0000 (14 14:25 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 14 Nov 2016 19:25:11 +0000 (14 14:25 -0500)
treea57b467a91f55fd47373fd8ca7c852691f00be43
parent9601d3ad787729c74f3971814426fc9e64571d80
Fix build-and-build-again bug in sunrpc tests.

rpcgen will error out if the file it's asked to create already exists.
Several other rules in sunrpc/Makefile take care to delete rpcgen-
generated files before creating them, but rpcgen-tests doesn't, which
can lead to spurious test failures in an incremental rebuild.

* sunrpc/Makefile (rpcgen-tests): Delete the .out file before
creating or re-creating it.
sunrpc/Makefile