Add the pass message after we successfully complete the test.
Fixes: 5c93c4c72fbc ("selftests: Test RISC-V Vector's first-use handler")
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andy Chiu <AndybnAC@gmail.com>
Link: https://lore.kernel.org/r/20241220091730.28006-2-yongxuan.wang@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
        unsigned long vl;
        char *datap, *tmp;
 
+       ksft_set_plan(1);
+
        datap = malloc(MAX_VSIZE);
        if (!datap) {
                ksft_test_result_fail("fail to allocate memory for size = %d\n", MAX_VSIZE);
        }
 
        free(datap);
+
+       ksft_test_result_pass("tests for v_initval_nolibc pass\n");
        ksft_exit_pass();
        return 0;
 }