[openEuler-5.10 291/303] lib/test_stackinit: Fix static initializer test