pike.git / src / modules / _Stdio / testsuite.in

version» Context lines:

pike.git/src/modules/_Stdio/testsuite.in:892:    b->consume(90);    if (b->unread(90) != 0) return 5;    return 0;   ]], 0)      dnl search      test_any_equal([[    Stdio.Buffer b = Stdio.Buffer("foobar");    return ({ search(b, 'f'), search(b, 'o'), search(b, 'x'), search(b, 0), -  search(b, -1), search(b, 'o', 1), search(b, 'o', 2), -  search(b, 'o', 0, 0), search(b, 'o', 0, 3) }); - ]], ({ 0, 1, -1, -1, -1, 1, 2, -1, 1 })) +  search(b, -1), search(b, 'o', 1), search(b, 'o', 2) }); + ]], ({ 0, 1, -1, -1, -1, 1, 2, }))      test_any([[    Stdio.Buffer b = Stdio.Buffer("hejhopp");    return search(b, "he");   ]], 0)   test_any([[    Stdio.Buffer b = Stdio.Buffer("hejhopp");    return search(b, "ho");   ]], 3)   test_any([[
pike.git/src/modules/_Stdio/testsuite.in:921:   ]], 0)   test_any([[    Stdio.Buffer b = Stdio.Buffer("hejhopphej");    b->read(1);    return search(b, "he");   ]], 6)   test_any([[    Stdio.Buffer b = Stdio.Buffer("hejhopphej");    return search(b, "he", 1);   ]], 7) - test_any([[ -  Stdio.Buffer b = Stdio.Buffer("hejhopp"); -  return search(b, "ho", 0, 3); - ]], -1) +       END_MARKER