The system (1) has a control device controlling a drive device (8) that drives a movable door leaf (2a). Two sensors (15a, 17a) detect obstacles in different areas of the system. The control device is designed such that a safety reaction of the system takes place during detection of the obstacles and the operability of the sensors is verified in regular test cycles, while the control device generates test signals for the sensors. The test cycle for the sensor (15a) that is assigned in the predetermined area differs from the test cycle for the sensor (17a) assigned in sections in other area.