[cmake-developers] [CMake 0015568]: Bashism in Squish4RunTestCase.sh

Mantis Bug Tracker mantis at public.kitware.com
Thu May 14 05:31:31 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15568 
====================================================================== 
Reported By:                Felix Geyer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15568
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-05-14 05:31 EDT
Last Modified:              2015-05-14 05:31 EDT
====================================================================== 
Summary:                    Bashism in Squish4RunTestCase.sh
Description: 
Squish4RunTestCase.sh is not POSIX complient as it calls "exit" with a negative
number.
bash translates -1 to 255 but other shells suchs as dash don't accept this.

The attached patch fixes this by replacing -1 with 255.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-05-14 05:31 Felix Geyer    New Issue                                    
2015-05-14 05:31 Felix Geyer    File Added: Squish4RunTestCase_bashism.diff     
              
======================================================================



More information about the cmake-developers mailing list