From: ian Date: Wed, 12 May 1999 21:34:53 +0000 (+0000) Subject: egression test doesn't rely on value of O_NONBLOCK and other flags. X-Git-Tag: rel-adns-0-2~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b69ec3127f1455889f18bac374958a941089e43b;p=adns.git egression test doesn't rely on value of O_NONBLOCK and other flags. --- diff --git a/changelog b/changelog index 09c803e..31429b0 100644 --- a/changelog +++ b/changelog @@ -10,7 +10,7 @@ adns (0.2) experimental; urgency=low * Look for inet_aton and inet_ntoa (in -lnsl and -lsocket). Portability fixes to regression test: - * Regression test doesn't rely on value of O_NONBLOCK. + * Regression test doesn't rely on value of O_NONBLOCK and other flags. Other changes: * Added COPYING (copy of the GPL). diff --git a/regress/fcntl-change.pl b/regress/fcntl-change.pl deleted file mode 100644 index d346281..0000000 --- a/regress/fcntl-change.pl +++ /dev/null @@ -1,8 +0,0 @@ -s/^( fcntl fd=\d+ cmd=F_SETFL) 2050$/$1 O_NONBLOCK\|\.\.\./; -if ($last =~ m/^ fcntl fd=\d+ cmd=F_GETFL$/) { - s/^ fcntl=2$/ fcntl\=\~O_NONBLOCK\&.../; -} -if ($last =~ m/^ fcntl fd=\d+ cmd=F_SETFL /) { - s/^ fcntl=0$/ fcntl\=OK/; -} -$last=$_;