The problem of hypothesis testing and interval estimation of the reliability parameter in a stress–strength model involving two-parameter exponential distributions is considered. Test and interval estimation procedures based on the generalized variable approach are given. Statistical properties of the generalized variable approach and an asymptotic method are evaluated by Monte Carlo simulation. Simulation studies show that the proposed generalized variable approach is satisfactory for practical applications while the asymptotic approach is not satisfactory even for large samples. The results are illustrated using simulated data.