David Wayne Birdsall created TRAFODION-1445:
-----------------------------------------------

             Summary: Convert all SQL regress test script names to upper case
                 Key: TRAFODION-1445
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1445
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-general
         Environment: Any development environment
            Reporter: David Wayne Birdsall
            Assignee: David Wayne Birdsall
            Priority: Minor


Most of the test scripts in core/sql/regress/* have names TESTnnn, but a few 
have names testnnn (that is, in lower case), which is a throw-back to Windows 
days when the scripts were first developed. Windows has a case-insensitive file 
system, so the case didn't matter. But when the test scripts were later added 
to a source control system where it did matter, the names became encased in 
stone. When later ported to Linux, with its case-sensitive file system, it was 
inconvenient to have some files in one case and others in another, so the 
tools/runregr_<component>.ksh scripts had some code in them to make copies of 
all the lower-case-named files into upper-case-named equivalents. This is all 
well and good until a developer wishes to debug a problem involving one of 
these test scripts. Attempts to edit the TESTnnn file mysteriously disappear as 
the testnnn doppelgänger is copied on top of it when the test suite is run. 
This JIRA suggests eliminating this mystery, by replacing the testnnn files 
with TESTnnn files, and eliminating the doppelgänger-copying code in the 
tools/runregr_<component>.ksh scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to