This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] nosleep 0.1.3-1 (needs GTG)


> 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' 
target that runs all of the scripts there.

At present there's one test.  It runs a helper script that just prints the 
number and content of its command line arguments.  The test runs the helper 
with some command line arguments:

helper/args.sh arg1 --arg2 - "arg 4"

It runs that with and without nosleep, compares the results, and fails 
noisily if they're different.

'cygport nosleep-0.1.4-1 test' now runs the functional tests from upstream, 
specifically the argument check.  It succeeds for me.

Thanks for the suggestion.
Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]