We present an identity which can sometimes express the joint distribution of several linear combinations of uniform spacings as a sum of simpler distributions. Examples are given to show that this identity is useful in the exact computation of probabilities and expectations which arise in testing for uniformity. The identity is also used to provide a new derivation of the distribution of a linear combination of spacings.