After starting over this weekend (see BLFS mailing list), up to this
point the major problem I had was discovering automake fails 5 tests if
run with the console on a PTY.  (The box is in an inconvenient place to
work, so I was ssh'ing into the host.)  By that I mean, both gcc and
glibc seem to work up to this point.

In kmod-19/testsuite/test-array.log:
TESTSUITE: running test_array_sort, in forked context
TESTSUITE: ERR: Failed assertion: array.array[0] ==
c1testsuite/test-array.c:110 test_array_sort

In kmod-19/testsuite/test-array.c:
...
static int test_array_sort(const struct test *t)
{
        struct array array;
        const char *c1 = "test1";
        const char *c2 = "test2";
        const char *c3 = "test3";

        array_init(&array, 2);
        array_append(&array, c1);
        array_append(&array, c2);
        array_append(&array, c3);
        array_append(&array, c2);
        array_append(&array, c3);
        array_append(&array, c1);
        array_sort(&array, (int (*)(const void *a, const void *b))
        strcmp);
        assert_return(array.count == 6, EXIT_FAILURE);
        assert_return(array.array[0] == c1, EXIT_FAILURE);  <--- 110
        assert_return(array.array[1] == c1, EXIT_FAILURE);
        assert_return(array.array[2] == c2, EXIT_FAILURE);
        assert_return(array.array[3] == c2, EXIT_FAILURE);
        assert_return(array.array[4] == c3, EXIT_FAILURE);
        assert_return(array.array[5] == c3, EXIT_FAILURE);
        array_free_array(&array);

        return 0;
}

I don't know what to do about it, what's at fault.  I await
instruction.  TIA.

-- 
Paul Rogers
[email protected]
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)

-- 
http://www.fastmail.com - mmm... Fastmail...

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to