Please help us test the behavior of different Unices

NIIBE Yutaka gniibe at fsij.org
Thu Mar 2 11:46:06 CET 2017


Hello,

Justus Winter <justus at g10code.com> writes:
>   % make test-unix-sockets && ./test-unix-sockets

$ uname -a
AIX power-aix 1 7 00F84C0C4C00
$ make CC=gcc test-unix-sockets
        gcc -O  test-unix-sockets.c -o test-unix-sockets
$ ./test-unix-sockets 
System: AIX:1:7
sizeof addr.sun_path: 1023
Running test with strlen (cwd): 22, name: '/tmp/test-unix-sockets/socket'
  getsockname returned '/tmp/test-unix-sockets/socket', addrlen: 1025
Running test with strlen (cwd): 22, name: 'socket'
  getsockname returned 'socket', addrlen: 1025
chdir: File name too long
$ 


$ uname -a
AIX power8-aix 2 7 00FA74164C00
$ make CC=gcc test-unix-sockets
        gcc -O  test-unix-sockets.c -o test-unix-sockets
$ ./test-unix-sockets 
System: AIX:2:7
sizeof addr.sun_path: 1023
Running test with strlen (cwd): 22, name: '/tmp/test-unix-sockets/socket'
  getsockname returned '/tmp/test-unix-sockets/socket', addrlen: 1025
Running test with strlen (cwd): 22, name: 'socket'
  getsockname returned 'socket', addrlen: 1025
chdir: File name too long
$ 
-- 



More information about the Gnupg-devel mailing list