An S-shaped machining test is proposed for the ISO 10791-7 standard to verify the performance of five-axis machining centers. However, investigation of the factor that has the most influence on the geometrical accuracy of finished S-shaped workpieces has not been undertaken. Determination of the influence of NC program tolerance and geometric errors concerning the rotary axes on the accuracy of the finished S-shaped workpiece forms the main objective of the study. Actual cutting experiments as well as simulations were performed during the proposed investigation. Our results clarify that NC-program tolerance has a significant influence on the end quality of the machined surface. Although geometric errors pertaining to rotary axes also have a significant influence on machined-surface quality, it is difficult to evaluate the influence of each individual error, because all geometric errors make glitches at the same point on the machined surface. The proposed S-shaped machining test can be used to provide a complete demonstration of available machining techniques.