unix.ffi: Arch Linux doesn't seem to have aliases.

db4
Doug Coleman 2014-04-22 08:25:51 -07:00
parent e3323818cc
commit 540e490031
1 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ IN: unix.ffi.tests
[ 80 ] [ "http" f getservbyname port>> ntohs ] unit-test
! Aliases seem unreliable. Leave this as an example but don't rely
! on aliases working.
[ t ] [
0 "http" f getservbyname aliases>> utf8 alien>strings
"www" swap member?
"http" f getservbyname aliases>> utf8 alien>strings drop
] unit-test
[ "http" ] [ 80 htons f getservbyport name>> ] unit-test