TestApplyRestoresBinaryWhenPromoteFails covers the most dangerous failure: the running binary is moved aside to execPath+".old", then the promote rename fails. Without the restore the user is left with NO executable at execPath. Driven through the promoteRename seam (the one step we can't make fail
(t *testing.T)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected