From b69ec3127f1455889f18bac374958a941089e43b Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 12 May 1999 21:34:53 +0000 Subject: [PATCH] egression test doesn't rely on value of O_NONBLOCK and other flags. --- changelog | 2 +- regress/fcntl-change.pl | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 regress/fcntl-change.pl 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=$_; -- 2.30.2