From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26378 invoked by alias); 30 Sep 2011 19:57:41 -0000 Received: (qmail 26365 invoked by uid 22791); 30 Sep 2011 19:57:41 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from qmta15.westchester.pa.mail.comcast.net (HELO qmta15.westchester.pa.mail.comcast.net) (76.96.59.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Sep 2011 19:57:27 +0000 Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta15.westchester.pa.mail.comcast.net with comcast id f7xQ1h0081YDfWL5F7xTAj; Fri, 30 Sep 2011 19:57:27 +0000 Received: from helium.5200-glenwood.net ([68.49.23.87]) by omta20.westchester.pa.mail.comcast.net with comcast id f7xS1h00o1skXbY3g7xSL1; Fri, 30 Sep 2011 19:57:27 +0000 Received: from localhost ([127.0.0.1]) by helium.5200-glenwood.net with smtp (Exim 4.72) (envelope-from ) id 1R9jD3-0006Va-8G for cygwin-apps@cygwin.com; Fri, 30 Sep 2011 15:57:25 -0400 From: Andrew Schulman To: cygwin-apps@cygwin.com Subject: Re: [ITP] nosleep 0.1.3-1 (needs GTG) Date: Fri, 30 Sep 2011 19:57:00 -0000 Message-ID: References: <7qvt77hgb3jgalfk6c8798nbcill8bv5bd@4ax.com> <4E85CB52.1070008@cwilson.fastmail.fm> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Archive: encrypt Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-09/txt/msg00112.txt.bz2 > I would like to see a test with simple command lines without checking > the nosleep behavior. Just to check if can correctly pass the command > with options with proper quoting. OK, this is a good idea. It's a first functional test. So I created a new release upstream, 0.1.4, containing a new test directory and a 'make test'= =20 target that runs all of the scripts there. At present there's one test. It runs a helper script that just prints the= =20 number and content of its command line arguments. The test runs the helper= =20 with some command line arguments: helper/args.sh arg1 --arg2 - "arg 4" It runs that with and without nosleep, compares the results, and fails=20 noisily if they're different. 'cygport nosleep-0.1.4-1 test' now runs the functional tests from upstream,= =20 specifically the argument check. It succeeds for me. Thanks for the suggestion. Andrew.