static void test_info_commands(void)

{

    char *resp, *info, *info_buf, *endp;



    info_buf = info = hmp("help info");



    while (*info) {

        /* Extract the info command, ignore parameters and description */

        g_assert(strncmp(info, "info ", 5) == 0);

        endp = strchr(&info[5], ' ');

        g_assert(endp != NULL);

        *endp = '\0';

        /* Now run the info command */

        if (verbose) {

            fprintf(stderr, "\t%s\n", info);

        }

        resp = hmp(info);

        g_free(resp);

        /* And move forward to the next line */

        info = strchr(endp + 1, '\n');

        if (!info) {

            break;

        }

        info += 1;

    }



    g_free(info_buf);

}

static void test_info_commands(void)

{

    char *resp, *info, *info_buf, *endp;



    info_buf = info = hmp("help info");



    while (*info) {

        

        g_assert(strncmp(info, "info ", 5) == 0);

        endp = strchr(&info[5], ' ');

        g_assert(endp != NULL);

        *endp = '\0';

        

        if (verbose) {

            fprintf(stderr, "\t%s\n", info);

        }

        resp = hmp(info);

        g_free(resp);

        

        info = strchr(endp + 1, '\n');

        if (!info) {

            break;

        }

        info += 1;

    }



    g_free(info_buf);

}

static void FUNC_0(void)

{

    char *VAR_0, *VAR_1, *VAR_2, *VAR_3;



    VAR_2 = VAR_1 = hmp("help VAR_1");



    while (*VAR_1) {

        

        g_assert(strncmp(VAR_1, "VAR_1 ", 5) == 0);

        VAR_3 = strchr(&VAR_1[5], ' ');

        g_assert(VAR_3 != NULL);

        *VAR_3 = '\0';

        

        if (verbose) {

            fprintf(stderr, "\t%s\n", VAR_1);

        }

        VAR_0 = hmp(VAR_1);

        g_free(VAR_0);

        

        VAR_1 = strchr(VAR_3 + 1, '\n');

        if (!VAR_1) {

            break;

        }

        VAR_1 += 1;

    }



    g_free(VAR_2);

}

static void FUNC_0(void)
{ char *VAR_0, *VAR_1, *VAR_2, *VAR_3; VAR_2 = VAR_1 = hmp("help VAR_1"); while (*VAR_1) { g_assert(strncmp(VAR_1, "VAR_1 ", 5) == 0); VAR_3 = strchr(&VAR_1[5], ' '); g_assert(VAR_3 != NULL); *VAR_3 = '\0'; if (verbose) { fprintf(stderr, "\t%s\n", VAR_1); } VAR_0 = hmp(VAR_1); g_free(VAR_0); VAR_1 = strchr(VAR_3 + 1, '\n'); if (!VAR_1) { break; } VAR_1 += 1; } g_free(VAR_2); }