test_and_compare_child
EXPECT_EQ(0, test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0, xtheadvector));
EXPECT_EQ(0, test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_OFF, 1, xtheadvector));
EXPECT_EQ(0, test_and_compare_child(flag, expected, 0, xtheadvector));
EXPECT_EQ(0, test_and_compare_child(flag, expected, 1, xtheadvector));
EXPECT_EQ(0, test_and_compare_child(flag, expected, 0, xtheadvector));
EXPECT_EQ(0, test_and_compare_child(flag, expected, 1, xtheadvector));