pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.577 2002/12/11 21:54:40 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.578 2002/12/18 20:45:38 mast Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:9267:   {    array a=({});    for(int e=0;e<10;e++)    a+=({thread_create(gnapp,e)});    return a;   }   };      return Fnord()->start()->wait()-({ -1 });   ]],[[ ({}) ]]) +  + test_do([[ +  object proc = Process.create_process (({"/bin/sleep", "99999"})); +  array threads = allocate (10, Thread.thread_create) ( +  lambda (object proc) {proc->wait();}, proc); +  sleep (1); +  proc->kill (9); +  return threads->wait() - ({-1}); + ]], ({}))   ]])      test_do([[    string s;    for(s="foobar";strlen(s)<78;s+=s)    {    for(int e=0;e<strlen(s);e++)    {    s[e]++;    }