From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 12:48:25 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00E0216A4CE for ; Wed, 14 Jul 2004 12:48:25 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4475943D55 for ; Wed, 14 Jul 2004 12:48:24 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6ECmLGw002728 for ; Wed, 14 Jul 2004 14:48:22 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: standards@freebsd.org From: Poul-Henning Kamp Date: Wed, 14 Jul 2004 14:48:21 +0200 Message-ID: <2727.1089809301@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Subject: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 12:48:25 -0000 As you may have noticed I'm banging away in the tty system right now. I was wondering if any of you know of a test tool which can test a serial port for posix compliance ? Alternatively, anybody who wants to help me write on ? My idea was to have a program which could be run in slave mode on a known good serial port which using a well-defined null-modem cable were connected to the port under test on which the program was run in "interogation" mode. Any takers ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 15:39:28 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 948D816A4CE for ; Wed, 14 Jul 2004 15:39:28 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A1A43D31 for ; Wed, 14 Jul 2004 15:39:23 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.154.38]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 845FB14BD7D; Wed, 14 Jul 2004 17:43:24 +0200 (CEST) Message-ID: <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , "Poul-Henning Kamp" References: <2727.1089809301@critter.freebsd.dk> Date: Wed, 14 Jul 2004 17:39:20 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 15:39:28 -0000 "Poul-Henning Kamp" wrote: > > As you may have noticed I'm banging away in the tty system right now. > > I was wondering if any of you know of a test tool which can test > a serial port for posix compliance ? let's try : http://www.opengroup.org/testing/testsuites/unix.html http://www.opengroup.org/testing/testsuites/posix.html Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 15:46:40 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D745516A4CF for ; Wed, 14 Jul 2004 15:46:40 +0000 (GMT) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70FFF43D2F for ; Wed, 14 Jul 2004 15:46:35 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost.pittgoth.com (acs-24-154-239-141.zoominternet.net [24.154.239.141]) (authenticated bits=0) by pittgoth.com (8.12.11/8.12.11) with ESMTP id i6EFkVVt050803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 14 Jul 2004 11:46:32 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Wed, 14 Jul 2004 11:47:04 -0400 From: Tom Rhodes To: "Cyrille Lefevre" Message-Id: <20040714114704.00c3fd87@localhost.pittgoth.com> In-Reply-To: <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org> References: <2727.1089809301@critter.freebsd.dk> <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: standards@FreeBSD.org cc: Poul-Henning Kamp Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 15:46:41 -0000 On Wed, 14 Jul 2004 17:39:20 +0200 "Cyrille Lefevre" wrote: > "Poul-Henning Kamp" wrote: > > > > As you may have noticed I'm banging away in the tty system right now. > > > > I was wondering if any of you know of a test tool which can test > > a serial port for posix compliance ? > > let's try : > http://www.opengroup.org/testing/testsuites/unix.html > http://www.opengroup.org/testing/testsuites/posix.html Perhaps this: misc/posixtestsuite Will be of some interest to you Poul-Henning. -- Tom Rhodes From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 15:53:52 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29E0C16A4CE; Wed, 14 Jul 2004 15:53:52 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8628443D45; Wed, 14 Jul 2004 15:53:46 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6EFrdc9010085; Wed, 14 Jul 2004 17:53:39 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Tom Rhodes From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 Jul 2004 11:47:04 EDT." <20040714114704.00c3fd87@localhost.pittgoth.com> Date: Wed, 14 Jul 2004 17:53:39 +0200 Message-ID: <10084.1089820419@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: standards@FreeBSD.org Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 15:53:52 -0000 In message <20040714114704.00c3fd87@localhost.pittgoth.com>, Tom Rhodes writes: >On Wed, 14 Jul 2004 17:39:20 +0200 >"Cyrille Lefevre" wrote: > >> "Poul-Henning Kamp" wrote: >> > >> > As you may have noticed I'm banging away in the tty system right now. >> > >> > I was wondering if any of you know of a test tool which can test >> > a serial port for posix compliance ? >> >> let's try : >> http://www.opengroup.org/testing/testsuites/unix.html >> http://www.opengroup.org/testing/testsuites/posix.html I'm looking at this stuff right now but have trouble because of consts in our prototypes in /usr/include. >misc/posixtestsuite It doesn't contain anything for serial ports as far as I can see. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 18:27:57 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E2E416A4CE for ; Wed, 14 Jul 2004 18:27:57 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051BA43D5C for ; Wed, 14 Jul 2004 18:27:57 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6EIRt0N012492; Wed, 14 Jul 2004 20:27:55 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Cyrille Lefevre" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 Jul 2004 17:39:20 +0200." <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org> Date: Wed, 14 Jul 2004 20:27:55 +0200 Message-ID: <12491.1089829675@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: standards@freebsd.org Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 18:27:57 -0000 In message <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org>, "Cyrille Lefevre" write s: >"Poul-Henning Kamp" wrote: >> >> As you may have noticed I'm banging away in the tty system right now. >> >> I was wondering if any of you know of a test tool which can test >> a serial port for posix compliance ? > >let's try : >http://www.opengroup.org/testing/testsuites/unix.html >http://www.opengroup.org/testing/testsuites/posix.html OK, I spent a couple of hours on this and failed to make it through. Anyone up for making it a port ? You probably need to make it two ports, one for the TET gadget and one for the actual tests. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 22:15:32 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C379A16A4CE for ; Wed, 14 Jul 2004 22:15:32 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4217B43D2F for ; Wed, 14 Jul 2004 22:15:32 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.154.38]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 3979A14B5C4; Thu, 15 Jul 2004 00:19:37 +0200 (CEST) Message-ID: <029d01c469f0$13405ff0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Poul-Henning Kamp" References: <12491.1089829675@critter.freebsd.dk> Date: Thu, 15 Jul 2004 00:15:29 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: standards@freebsd.org Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 22:15:32 -0000 "Poul-Henning Kamp" wrote: To: "Cyrille Lefevre" Cc: Sent: Wednesday, July 14, 2004 8:27 PM Subject: Re: termio test tool anyone ? > In message <026d01c469b8$bbaca7d0$7890a8c0@dyndns.org>, "Cyrille Lefevre" write > s: > >"Poul-Henning Kamp" wrote: > >> > >> As you may have noticed I'm banging away in the tty system right now. > >> > >> I was wondering if any of you know of a test tool which can test > >> a serial port for posix compliance ? > > > >let's try : > >http://www.opengroup.org/testing/testsuites/unix.html > >http://www.opengroup.org/testing/testsuites/posix.html > > OK, I spent a couple of hours on this and failed to make it through. > > Anyone up for making it a port ? You probably need to make it > two ports, one for the TET gadget and one for the actual tests. it's not possible to make them a port... because, as you stated in your previous email, our includes aren't POSIX compliant :( and modifying the test suite will make it broken. do you see what I mean ? we first have to fix our side... however, as I remember me, you can test just some part of the standards. Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net From owner-freebsd-standards@FreeBSD.ORG Wed Jul 14 22:20:31 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1A9516A4CE for ; Wed, 14 Jul 2004 22:20:31 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4365743D49 for ; Wed, 14 Jul 2004 22:20:31 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6EMKLDB001766; Thu, 15 Jul 2004 00:20:27 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Cyrille Lefevre" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 15 Jul 2004 00:15:29 +0200." <029d01c469f0$13405ff0$7890a8c0@dyndns.org> Date: Thu, 15 Jul 2004 00:20:21 +0200 Message-ID: <1765.1089843621@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: standards@freebsd.org Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 22:20:32 -0000 In message <029d01c469f0$13405ff0$7890a8c0@dyndns.org>, "Cyrille Lefevre" write s: >> OK, I spent a couple of hours on this and failed to make it through. >> >> Anyone up for making it a port ? You probably need to make it >> two ports, one for the TET gadget and one for the actual tests. > > >it's not possible to make them a port... because, as you stated in your >previous email, our includes aren't POSIX compliant :( and modifying >the test suite will make it broken. do you see what I mean ? What I did was to copy the two of our system includes (unistd and stdio) int a temp directory, remove the offending "const" and then specify that before /usr/include as a #include file directory to search. >we first have to fix our side... however, as I remember me, you can >test just some part of the standards. Well, I never got as far as running the first test :-( -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-standards@FreeBSD.ORG Thu Jul 15 07:10:07 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2164C16A4CE for ; Thu, 15 Jul 2004 07:10:07 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8705C43D5A for ; Thu, 15 Jul 2004 07:10:06 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i6F7A44u018256; Thu, 15 Jul 2004 17:10:04 +1000 Received: from epsplex.bde.org (katana.zip.com.au [61.8.7.246]) i6F7A0nl005156; Thu, 15 Jul 2004 17:10:03 +1000 Date: Thu, 15 Jul 2004 17:10:00 +1000 (EST) From: Bruce Evans X-X-Sender: bde@epsplex.bde.org To: Poul-Henning Kamp In-Reply-To: <2727.1089809301@critter.freebsd.dk> Message-ID: <20040715165855.A2308@epsplex.bde.org> References: <2727.1089809301@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: standards@FreeBSD.org Subject: Re: termio test tool anyone ? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 07:10:07 -0000 On Wed, 14 Jul 2004, Poul-Henning Kamp wrote: > As you may have noticed I'm banging away in the tty system right now. > > I was wondering if any of you know of a test tool which can test > a serial port for posix compliance ? As documented in log messages, I used PCTS (the old POSIX test suite). It is hard to configure and use due to poor configuration technology and bugs in both the source code and FreeBSD. Perhaps the current POSIX tests are better. Bruce From owner-freebsd-standards@FreeBSD.ORG Fri Jul 16 17:26:51 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F2EC16A4CE for ; Fri, 16 Jul 2004 17:26:51 +0000 (GMT) Received: from blitzen.qlo.com (blitzen.qlo.com [142.165.150.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5FD443D3F for ; Fri, 16 Jul 2004 17:26:50 +0000 (GMT) (envelope-from shurd@sasktel.net) Received: from stephens (hssx-yktn-59-202.sasknet.sk.ca [142.165.59.202]) by mail.qlo.com (SaskTel eMessaging Service) with ESMTPA id <0I0Y00GT6G0123@mail.qlo.com> for freebsd-standards@freebsd.org; Fri, 16 Jul 2004 11:16:50 -0600 (CST) Date: Fri, 16 Jul 2004 11:16:49 -0600 From: Stephen Hurd To: freebsd-standards@freebsd.org Message-id: <20040716111649.2f326874.shurd@sasktel.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Fw: Re: Locking: kern/50827 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 17:26:51 -0000 Begin forwarded message: Date: Fri, 9 Jul 2004 23:01:27 -0400 From: Brian Fundakowski Feldman To: Stephen Hurd Cc: freebsd-hackers@freebsd.org Subject: Re: Locking: kern/50827 On Sun, Jul 04, 2004 at 04:06:45PM -0600, Stephen Hurd wrote: > > Right, if you just make it cross-platform in the first place using > > higher- level primitives you don't have to worry what the specific > > kernel and operating system and file system you are using provides. > > It's my opinion tha there won't be other people adopting this API for > > file locking since it is by definition not meant to work like the > > standardized APIs. > > > > I don't think that there's no value in having more useful locking > > primitives, but they probably don't benefit much from being implemented > > in the kernel unless they conform to a portable API. I certainly always > > have my own various kernel modifications that I find useful, but aren't > > very standard :) > > This sounds a lot like "Well, there's no point in doing something better > since nobody else is doing it.". strlcpy() and friends are an example of > non-standard stuff that just Makes Sense(tm). If you're trying to create a new "standard", I think -standards or -arch is the more appropriate FreeBSD list. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"