Branch: Tag:

1998-01-03

1998-01-03 07:13:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

now works better with NT

Rev: NT/tools/lib:1.3
Rev: bin/test_pike.pike:1.5
Rev: lib/modules/Stdio.pmod:1.7
Rev: src/fdlib.c:1.2
Rev: src/fdlib.h:1.2
Rev: src/modules/Image/font.c:1.24
Rev: src/modules/files/efuns.c:1.42
Rev: src/modules/files/file.c:1.64
Rev: src/modules/files/socket.c:1.21
Rev: src/modules/files/testsuite.in:1.7
Rev: src/port.c:1.14
Rev: src/testsuite.in:1.63
Rev: src/threads.c:1.50
Rev: src/threads.h:1.24

1: - test_true([["$Id: testsuite.in,v 1.62 1997/12/03 22:46:18 hubbe Exp $"]]) + test_true([["$Id: testsuite.in,v 1.63 1998/01/03 07:12:11 hubbe Exp $"]])   test_eq(1e1,10.0)   test_eq(1E1,10.0)   test_eq(1e+1,10.0)
396:   test_do(add_constant("foo"));      // signum, signame - test_eq(signum("SIGKILL"),9) - test_eq(signum("SIGINT"),2) - test_eq(signame(9),"SIGKILL") - test_eq(signame(2),"SIGINT") + test_true(intp(signum("SIGKILL")))      // kill, signal, getpid   test_true(intp(getpid())) -  + cond([[all_constants()->kill]], + [[   test_do(signal(signum("SIGFPE"),lambda() { add_constant("AFJLLAF",17); }))   test_do(kill(getpid(),signum("SIGFPE")))   test_do(sleep(2))
410:   test_do(add_constant("AFJLLAF"))   test_do(signal(signum("SIGFPE",0)))   test_do(signal(signum("SIGFPE"))) + ]])      // typeof   test_eq(typeof(1),"int")