[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: typo in test cases
From: |
Chet Ramey |
Subject: |
Re: typo in test cases |
Date: |
Mon, 11 Sep 2006 08:53:00 -0400 |
User-agent: |
Thunderbird 1.5.0.5 (Macintosh/20060719) |
walter harms wrote:
> hi chet,
>
> #!
> may have unexpected side effects. e.g. i got 'unknown interpreter' while
> locating a problem.
Such side effects indicate a problem with the test environment. That
script, and nearly all of the `.sub' scripts in the bash test directory,
is supposed to be run as the shell script argument to the bash binary
being tested. Since that's the case, the presence or absence of #!
doesn't matter, and, in fact, a bogus value (though this one was left
there inadvertently) can indicate problems more quickly.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/