[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is a 'program' in Section 15.3.3.1?
From: |
Nick Bowler |
Subject: |
Re: What is a 'program' in Section 15.3.3.1? |
Date: |
Wed, 27 May 2015 18:00:27 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On 2015-05-27 13:55 -0700, Arthur Schwarz wrote:
> In looking at tap-driver.sh there doesn't appear to be a place where a
> 'program' is accepted on the input command line. It appears that after all
> options are read if the input command line '$#' is not zero then an error is
> declared. So, is the TAP interface different from other Custom Test Driver
> interfaces?
I am guessing that you are referring to this line in tap-driver.sh:
test $# -gt 0 || usage_error "missing test command"
The error is only printed if $# is *equal* to zero (i.e., additional
arguments including the program name are mandatory).
Regards,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)