[openEuler-5.10-LTS 211/501] selftests: timers: clocksource-switch: fix passing errors from child