Lines Matching refs:test
493 if test "$tst_links_alarm" = "yes"; then
506 if test "$tst_proto_alarm" = "yes"; then
524 if test "$tst_compi_alarm" = "yes"; then
526 if test "x$curl_disallow_alarm" != "xyes"; then
536 if test "$tst_links_alarm" = "yes" &&
537 test "$tst_proto_alarm" = "yes" &&
538 test "$tst_compi_alarm" = "yes" &&
539 test "$tst_allow_alarm" = "yes"; then
580 if test "$tst_links_basename" = "yes"; then
595 if test "$tst_proto_basename" = "yes"; then
615 if test "$tst_compi_basename" = "yes"; then
617 if test "x$curl_disallow_basename" != "xyes"; then
627 if test "$tst_links_basename" = "yes" &&
628 test "$tst_proto_basename" = "yes" &&
629 test "$tst_compi_basename" = "yes" &&
630 test "$tst_allow_basename" = "yes"; then
674 if test "$tst_links_closesocket" = "yes"; then
687 if test "$tst_proto_closesocket" = "yes"; then
705 if test "$tst_compi_closesocket" = "yes"; then
707 if test "x$curl_disallow_closesocket" != "xyes"; then
717 if test "$tst_links_closesocket" = "yes" &&
718 test "$tst_proto_closesocket" = "yes" &&
719 test "$tst_compi_closesocket" = "yes" &&
720 test "$tst_allow_closesocket" = "yes"; then
766 if test "$tst_links_closesocket_camel" = "yes"; then
780 if test "$tst_proto_closesocket_camel" = "yes"; then
799 if test "$tst_compi_closesocket_camel" = "yes"; then
801 if test "x$curl_disallow_closesocket_camel" != "xyes"; then
811 if test "$tst_links_closesocket_camel" = "yes" &&
812 test "$tst_proto_closesocket_camel" = "yes" &&
813 test "$tst_compi_closesocket_camel" = "yes" &&
814 test "$tst_allow_closesocket_camel" = "yes"; then
852 if test "$tst_links_fcntl" = "yes"; then
865 if test "$tst_proto_fcntl" = "yes"; then
883 if test "$tst_compi_fcntl" = "yes"; then
885 if test "x$curl_disallow_fcntl" != "xyes"; then
895 if test "$tst_links_fcntl" = "yes" &&
896 test "$tst_proto_fcntl" = "yes" &&
897 test "$tst_compi_fcntl" = "yes" &&
898 test "$tst_allow_fcntl" = "yes"; then
930 if test "$curl_cv_func_fcntl" = "yes"; then
949 if test "$tst_compi_fcntl_o_nonblock" = "yes"; then
951 if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then
961 if test "$tst_compi_fcntl_o_nonblock" = "yes" &&
962 test "$tst_allow_fcntl_o_nonblock" = "yes"; then
1009 if test "$tst_links_freeaddrinfo" = "yes"; then
1024 if test "$tst_proto_freeaddrinfo" = "yes"; then
1043 if test "$tst_compi_freeaddrinfo" = "yes"; then
1045 if test "x$curl_disallow_freeaddrinfo" != "xyes"; then
1055 if test "$tst_links_freeaddrinfo" = "yes" &&
1056 test "$tst_proto_freeaddrinfo" = "yes" &&
1057 test "$tst_compi_freeaddrinfo" = "yes" &&
1058 test "$tst_allow_freeaddrinfo" = "yes"; then
1098 if test "$tst_links_fsetxattr" = "yes"; then
1111 if test "$tst_proto_fsetxattr" = "yes"; then
1112 if test "$tst_nargs_fsetxattr" = "unknown"; then
1130 if test "$tst_nargs_fsetxattr" = "unknown"; then
1149 if test "$tst_compi_fsetxattr" = "yes"; then
1156 if test "$tst_compi_fsetxattr" = "yes"; then
1158 if test "x$curl_disallow_fsetxattr" != "xyes"; then
1168 if test "$tst_links_fsetxattr" = "yes" &&
1169 test "$tst_proto_fsetxattr" = "yes" &&
1170 test "$tst_compi_fsetxattr" = "yes" &&
1171 test "$tst_allow_fsetxattr" = "yes"; then
1178 if test "$tst_nargs_fsetxattr" -eq "5"; then
1180 elif test "$tst_nargs_fsetxattr" -eq "6"; then
1219 if test "$tst_links_ftruncate" = "yes"; then
1232 if test "$tst_proto_ftruncate" = "yes"; then
1250 if test "$tst_compi_ftruncate" = "yes"; then
1252 if test "x$curl_disallow_ftruncate" != "xyes"; then
1262 if test "$tst_links_ftruncate" = "yes" &&
1263 test "$tst_proto_ftruncate" = "yes" &&
1264 test "$tst_compi_ftruncate" = "yes" &&
1265 test "$tst_allow_ftruncate" = "yes"; then
1321 if test "$tst_links_getaddrinfo" = "yes"; then
1336 if test "$tst_proto_getaddrinfo" = "yes"; then
1357 if test "x$cross_compiling" != "xyes" &&
1358 test "$tst_compi_getaddrinfo" = "yes"; then
1397 if test "$tst_compi_getaddrinfo" = "yes" &&
1398 test "$tst_works_getaddrinfo" != "no"; then
1400 if test "x$curl_disallow_getaddrinfo" != "xyes"; then
1410 if test "$tst_links_getaddrinfo" = "yes" &&
1411 test "$tst_proto_getaddrinfo" = "yes" &&
1412 test "$tst_compi_getaddrinfo" = "yes" &&
1413 test "$tst_allow_getaddrinfo" = "yes" &&
1414 test "$tst_works_getaddrinfo" != "no"; then
1425 if test "$curl_cv_func_getaddrinfo" = "yes"; then
1482 if test "$tst_tsafe_getaddrinfo" = "unknown" &&
1483 test "$curl_cv_native_windows" = "yes"; then
1486 if test "$tst_tsafe_getaddrinfo" = "unknown"; then
1490 if test "$tst_tsafe_getaddrinfo" = "yes"; then
1536 if test "$tst_links_gethostbyname" = "yes"; then
1551 if test "$tst_proto_gethostbyname" = "yes"; then
1571 if test "$tst_compi_gethostbyname" = "yes"; then
1573 if test "x$curl_disallow_gethostbyname" != "xyes"; then
1583 if test "$tst_links_gethostbyname" = "yes" &&
1584 test "$tst_proto_gethostbyname" = "yes" &&
1585 test "$tst_compi_gethostbyname" = "yes" &&
1586 test "$tst_allow_gethostbyname" = "yes"; then
1626 if test "$tst_links_gethostbyname_r" = "yes"; then
1639 if test "$tst_proto_gethostbyname_r" = "yes"; then
1640 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1659 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1678 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1698 if test "$tst_compi_gethostbyname_r" = "yes"; then
1705 if test "$tst_compi_gethostbyname_r" = "yes"; then
1707 if test "x$curl_disallow_gethostbyname_r" != "xyes"; then
1717 if test "$tst_links_gethostbyname_r" = "yes" &&
1718 test "$tst_proto_gethostbyname_r" = "yes" &&
1719 test "$tst_compi_gethostbyname_r" = "yes" &&
1720 test "$tst_allow_gethostbyname_r" = "yes"; then
1727 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
1729 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
1731 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
1780 if test "$tst_links_gethostname" = "yes"; then
1795 if test "$tst_proto_gethostname" = "yes"; then
1815 if test "$tst_compi_gethostname" = "yes"; then
1820 if test "$tst_gethostname_type_arg2" = "unknown"; then
1839 if test "$tst_gethostname_type_arg2" != "unknown"; then
1845 if test "$tst_compi_gethostname" = "yes"; then
1847 if test "x$curl_disallow_gethostname" != "xyes"; then
1857 if test "$tst_links_gethostname" = "yes" &&
1858 test "$tst_proto_gethostname" = "yes" &&
1859 test "$tst_compi_gethostname" = "yes" &&
1860 test "$tst_allow_gethostname" = "yes"; then
1908 if test "$tst_links_getpeername" = "yes"; then
1923 if test "$tst_proto_getpeername" = "yes"; then
1943 if test "$tst_compi_getpeername" = "yes"; then
1945 if test "x$curl_disallow_getpeername" != "xyes"; then
1955 if test "$tst_links_getpeername" = "yes" &&
1956 test "$tst_proto_getpeername" = "yes" &&
1957 test "$tst_compi_getpeername" = "yes" &&
1958 test "$tst_allow_getpeername" = "yes"; then
2006 if test "$tst_links_getsockname" = "yes"; then
2021 if test "$tst_proto_getsockname" = "yes"; then
2041 if test "$tst_compi_getsockname" = "yes"; then
2043 if test "x$curl_disallow_getsockname" != "xyes"; then
2053 if test "$tst_links_getsockname" = "yes" &&
2054 test "$tst_proto_getsockname" = "yes" &&
2055 test "$tst_compi_getsockname" = "yes" &&
2056 test "$tst_allow_getsockname" = "yes"; then
2097 if test "$tst_links_getifaddrs" = "yes"; then
2110 if test "$tst_proto_getifaddrs" = "yes"; then
2129 if test "x$cross_compiling" != "xyes" &&
2130 test "$tst_compi_getifaddrs" = "yes"; then
2155 if test "$tst_compi_getifaddrs" = "yes" &&
2156 test "$tst_works_getifaddrs" != "no"; then
2158 if test "x$curl_disallow_getifaddrs" != "xyes"; then
2168 if test "$tst_links_getifaddrs" = "yes" &&
2169 test "$tst_proto_getifaddrs" = "yes" &&
2170 test "$tst_compi_getifaddrs" = "yes" &&
2171 test "$tst_allow_getifaddrs" = "yes" &&
2172 test "$tst_works_getifaddrs" != "no"; then
2213 if test "$tst_links_gmtime_r" = "yes"; then
2226 if test "$tst_proto_gmtime_r" = "yes"; then
2245 if test "x$cross_compiling" != "xyes" &&
2246 test "$tst_compi_gmtime_r" = "yes"; then
2271 if test "$tst_compi_gmtime_r" = "yes" &&
2272 test "$tst_works_gmtime_r" != "no"; then
2274 if test "x$curl_disallow_gmtime_r" != "xyes"; then
2284 if test "$tst_links_gmtime_r" = "yes" &&
2285 test "$tst_proto_gmtime_r" = "yes" &&
2286 test "$tst_compi_gmtime_r" = "yes" &&
2287 test "$tst_allow_gmtime_r" = "yes" &&
2288 test "$tst_works_gmtime_r" != "no"; then
2330 if test "$tst_links_inet_ntop" = "yes"; then
2343 if test "$tst_proto_inet_ntop" = "yes"; then
2362 if test "x$cross_compiling" != "xyes" &&
2363 test "$tst_compi_inet_ntop" = "yes"; then
2430 if test "$tst_compi_inet_ntop" = "yes" &&
2431 test "$tst_works_inet_ntop" != "no"; then
2433 if test "x$curl_disallow_inet_ntop" != "xyes"; then
2443 if test "$tst_links_inet_ntop" = "yes" &&
2444 test "$tst_proto_inet_ntop" = "yes" &&
2445 test "$tst_compi_inet_ntop" = "yes" &&
2446 test "$tst_allow_inet_ntop" = "yes" &&
2447 test "$tst_works_inet_ntop" != "no"; then
2489 if test "$tst_links_inet_pton" = "yes"; then
2502 if test "$tst_proto_inet_pton" = "yes"; then
2521 if test "x$cross_compiling" != "xyes" &&
2522 test "$tst_compi_inet_pton" = "yes"; then
2582 if test "$tst_compi_inet_pton" = "yes" &&
2583 test "$tst_works_inet_pton" != "no"; then
2585 if test "x$curl_disallow_inet_pton" != "xyes"; then
2595 if test "$tst_links_inet_pton" = "yes" &&
2596 test "$tst_proto_inet_pton" = "yes" &&
2597 test "$tst_compi_inet_pton" = "yes" &&
2598 test "$tst_allow_inet_pton" = "yes" &&
2599 test "$tst_works_inet_pton" != "no"; then
2638 if test "$tst_links_ioctl" = "yes"; then
2651 if test "$tst_proto_ioctl" = "yes"; then
2669 if test "$tst_compi_ioctl" = "yes"; then
2671 if test "x$curl_disallow_ioctl" != "xyes"; then
2681 if test "$tst_links_ioctl" = "yes" &&
2682 test "$tst_proto_ioctl" = "yes" &&
2683 test "$tst_compi_ioctl" = "yes" &&
2684 test "$tst_allow_ioctl" = "yes"; then
2710 if test "$curl_cv_func_ioctl" = "yes"; then
2729 if test "$tst_compi_ioctl_fionbio" = "yes"; then
2731 if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then
2741 if test "$tst_compi_ioctl_fionbio" = "yes" &&
2742 test "$tst_allow_ioctl_fionbio" = "yes"; then
2766 if test "$curl_cv_func_ioctl" = "yes"; then
2786 if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then
2788 if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then
2798 if test "$tst_compi_ioctl_siocgifaddr" = "yes" &&
2799 test "$tst_allow_ioctl_siocgifaddr" = "yes"; then
2843 if test "$tst_links_ioctlsocket" = "yes"; then
2856 if test "$tst_proto_ioctlsocket" = "yes"; then
2874 if test "$tst_compi_ioctlsocket" = "yes"; then
2876 if test "x$curl_disallow_ioctlsocket" != "xyes"; then
2886 if test "$tst_links_ioctlsocket" = "yes" &&
2887 test "$tst_proto_ioctlsocket" = "yes" &&
2888 test "$tst_compi_ioctlsocket" = "yes" &&
2889 test "$tst_allow_ioctlsocket" = "yes"; then
2914 if test "$curl_cv_func_ioctlsocket" = "yes"; then
2933 if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then
2935 if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then
2945 if test "$tst_compi_ioctlsocket_fionbio" = "yes" &&
2946 test "$tst_allow_ioctlsocket_fionbio" = "yes"; then
2989 if test "$tst_links_ioctlsocket_camel" = "yes"; then
3002 if test "$tst_proto_ioctlsocket_camel" = "yes"; then
3020 if test "$tst_compi_ioctlsocket_camel" = "yes"; then
3022 if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then
3032 if test "$tst_links_ioctlsocket_camel" = "yes" &&
3033 test "$tst_proto_ioctlsocket_camel" = "yes" &&
3034 test "$tst_compi_ioctlsocket_camel" = "yes" &&
3035 test "$tst_allow_ioctlsocket_camel" = "yes"; then
3060 if test "$curl_cv_func_ioctlsocket_camel" = "yes"; then
3079 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then
3081 if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then
3091 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" &&
3092 test "$tst_allow_ioctlsocket_camel_fionbio" = "yes"; then
3132 if test "$tst_links_memrchr" = "no"; then
3150 if test "$tst_links_memrchr" = "yes"; then
3163 if test "$tst_proto_memrchr" = "yes" ||
3164 test "$tst_macro_memrchr" = "yes"; then
3182 if test "$tst_compi_memrchr" = "yes"; then
3184 if test "x$curl_disallow_memrchr" != "xyes"; then
3194 if (test "$tst_proto_memrchr" = "yes" ||
3195 test "$tst_macro_memrchr" = "yes") &&
3196 test "$tst_compi_memrchr" = "yes" &&
3197 test "$tst_allow_memrchr" = "yes"; then
3236 if test "$tst_links_sigaction" = "yes"; then
3249 if test "$tst_proto_sigaction" = "yes"; then
3267 if test "$tst_compi_sigaction" = "yes"; then
3269 if test "x$curl_disallow_sigaction" != "xyes"; then
3279 if test "$tst_links_sigaction" = "yes" &&
3280 test "$tst_proto_sigaction" = "yes" &&
3281 test "$tst_compi_sigaction" = "yes" &&
3282 test "$tst_allow_sigaction" = "yes"; then
3321 if test "$tst_links_siginterrupt" = "yes"; then
3334 if test "$tst_proto_siginterrupt" = "yes"; then
3352 if test "$tst_compi_siginterrupt" = "yes"; then
3354 if test "x$curl_disallow_siginterrupt" != "xyes"; then
3364 if test "$tst_links_siginterrupt" = "yes" &&
3365 test "$tst_proto_siginterrupt" = "yes" &&
3366 test "$tst_compi_siginterrupt" = "yes" &&
3367 test "$tst_allow_siginterrupt" = "yes"; then
3406 if test "$tst_links_signal" = "yes"; then
3419 if test "$tst_proto_signal" = "yes"; then
3437 if test "$tst_compi_signal" = "yes"; then
3439 if test "x$curl_disallow_signal" != "xyes"; then
3449 if test "$tst_links_signal" = "yes" &&
3450 test "$tst_proto_signal" = "yes" &&
3451 test "$tst_compi_signal" = "yes" &&
3452 test "$tst_allow_signal" = "yes"; then
3492 if test "$tst_links_sigsetjmp" = "no"; then
3511 if test "$tst_links_sigsetjmp" = "yes"; then
3524 if test "$tst_proto_sigsetjmp" = "yes" ||
3525 test "$tst_macro_sigsetjmp" = "yes"; then
3544 if test "$tst_compi_sigsetjmp" = "yes"; then
3546 if test "x$curl_disallow_sigsetjmp" != "xyes"; then
3556 if (test "$tst_proto_sigsetjmp" = "yes" ||
3557 test "$tst_macro_sigsetjmp" = "yes") &&
3558 test "$tst_compi_sigsetjmp" = "yes" &&
3559 test "$tst_allow_sigsetjmp" = "yes"; then
3606 if test "$tst_links_socket" = "yes"; then
3621 if test "$tst_proto_socket" = "yes"; then
3641 if test "$tst_compi_socket" = "yes"; then
3643 if test "x$curl_disallow_socket" != "xyes"; then
3653 if test "$tst_links_socket" = "yes" &&
3654 test "$tst_proto_socket" = "yes" &&
3655 test "$tst_compi_socket" = "yes" &&
3656 test "$tst_allow_socket" = "yes"; then
3695 if test "$tst_links_socketpair" = "yes"; then
3708 if test "$tst_proto_socketpair" = "yes"; then
3727 if test "$tst_compi_socketpair" = "yes"; then
3729 if test "x$curl_disallow_socketpair" != "xyes"; then
3739 if test "$tst_links_socketpair" = "yes" &&
3740 test "$tst_proto_socketpair" = "yes" &&
3741 test "$tst_compi_socketpair" = "yes" &&
3742 test "$tst_allow_socketpair" = "yes"; then
3781 if test "$tst_links_strcasecmp" = "yes"; then
3794 if test "$tst_proto_strcasecmp" = "yes"; then
3812 if test "$tst_compi_strcasecmp" = "yes"; then
3814 if test "x$curl_disallow_strcasecmp" != "xyes"; then
3824 if test "$tst_links_strcasecmp" = "yes" &&
3825 test "$tst_proto_strcasecmp" = "yes" &&
3826 test "$tst_compi_strcasecmp" = "yes" &&
3827 test "$tst_allow_strcasecmp" = "yes"; then
3865 if test "$tst_links_strcmpi" = "yes"; then
3878 if test "$tst_proto_strcmpi" = "yes"; then
3896 if test "$tst_compi_strcmpi" = "yes"; then
3898 if test "x$curl_disallow_strcmpi" != "xyes"; then
3908 if test "$tst_links_strcmpi" = "yes" &&
3909 test "$tst_proto_strcmpi" = "yes" &&
3910 test "$tst_compi_strcmpi" = "yes" &&
3911 test "$tst_allow_strcmpi" = "yes"; then
3950 if test "$tst_links_strdup" = "yes"; then
3963 if test "$tst_proto_strdup" = "yes"; then
3981 if test "$tst_compi_strdup" = "yes"; then
3983 if test "x$curl_disallow_strdup" != "xyes"; then
3993 if test "$tst_links_strdup" = "yes" &&
3994 test "$tst_proto_strdup" = "yes" &&
3995 test "$tst_compi_strdup" = "yes" &&
3996 test "$tst_allow_strdup" = "yes"; then
4022 dnl quick test on a few systems shows that it's usually not used at all.
4058 if test "$tst_links_strerror_r" = "yes"; then
4071 if test "$tst_proto_strerror_r" = "yes"; then
4089 if test "$tst_compi_strerror_r" = "yes"; then
4093 if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then
4120 if test "x$cross_compiling" != "xyes" &&
4121 test "$tst_glibc_strerror_r" = "yes"; then
4149 if test "$tst_compi_strerror_r" = "yes" &&
4150 test "$tst_works_glibc_strerror_r" != "yes"; then
4154 if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then
4181 if test "x$cross_compiling" != "xyes" &&
4182 test "$tst_posix_strerror_r" = "yes"; then
4210 if test "$tst_works_glibc_strerror_r" = "yes"; then
4213 if test "$tst_works_posix_strerror_r" = "yes"; then
4216 if test "$tst_glibc_strerror_r" = "yes" &&
4217 test "$tst_works_glibc_strerror_r" != "no" &&
4218 test "$tst_posix_strerror_r" != "yes"; then
4221 if test "$tst_posix_strerror_r" = "yes" &&
4222 test "$tst_works_posix_strerror_r" != "no" &&
4223 test "$tst_glibc_strerror_r" != "yes"; then
4226 if test "$tst_allow_strerror_r" = "check"; then
4228 if test "x$curl_disallow_strerror_r" != "xyes"; then
4238 if test "$tst_links_strerror_r" = "yes" &&
4239 test "$tst_proto_strerror_r" = "yes" &&
4240 test "$tst_compi_strerror_r" = "yes" &&
4241 test "$tst_allow_strerror_r" = "yes"; then
4243 if test "$tst_glibc_strerror_r" = "yes"; then
4249 if test "$tst_posix_strerror_r" = "yes"; then
4261 if test "$tst_compi_strerror_r" = "yes" &&
4262 test "$tst_allow_strerror_r" = "unknown"; then
4296 if test "$tst_links_stricmp" = "yes"; then
4309 if test "$tst_proto_stricmp" = "yes"; then
4327 if test "$tst_compi_stricmp" = "yes"; then
4329 if test "x$curl_disallow_stricmp" != "xyes"; then
4339 if test "$tst_links_stricmp" = "yes" &&
4340 test "$tst_proto_stricmp" = "yes" &&
4341 test "$tst_compi_stricmp" = "yes" &&
4342 test "$tst_allow_stricmp" = "yes"; then
4381 if test "$tst_links_strtok_r" = "yes"; then
4394 if test "$tst_proto_strtok_r" = "yes"; then
4412 if test "$tst_compi_strtok_r" = "yes"; then
4414 if test "x$curl_disallow_strtok_r" != "xyes"; then
4424 if test "$tst_links_strtok_r" = "yes" &&
4425 test "$tst_proto_strtok_r" = "yes" &&
4426 test "$tst_compi_strtok_r" = "yes" &&
4427 test "$tst_allow_strtok_r" = "yes"; then
4466 if test "$tst_links_strtoll" = "yes"; then
4479 if test "$tst_proto_strtoll" = "yes"; then
4497 if test "$tst_compi_strtoll" = "yes"; then
4499 if test "x$curl_disallow_strtoll" != "xyes"; then
4509 if test "$tst_links_strtoll" = "yes" &&
4510 test "$tst_proto_strtoll" = "yes" &&
4511 test "$tst_compi_strtoll" = "yes" &&
4512 test "$tst_allow_strtoll" = "yes"; then
4566 AS_IF([ test "$GCC" != "yes" ], coverage="no" )
4569 if test "x$coverage" = "xyes"; then
4573 if test -z "$GCOV"; then
4577 if test -z "$LCOV"; then
4622 # test code when the boolean is false and thus creating a zero, making it a
4656 if test $r -gt 0; then
4660 if test $r -eq 0; then