MantisBT - CMake
View Issue Details
0015568CMakeModulespublic2015-05-14 05:312015-11-02 09:15
Felix Geyer 
 
normalminoralways
closedfixed 
 
CMake 3.3CMake 3.3 
0015568: Bashism in Squish4RunTestCase.sh
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.
No tags attached.
diff Squish4RunTestCase_bashism.diff (815) 2015-05-14 05:31
https://public.kitware.com/Bug/file/5462/Squish4RunTestCase_bashism.diff
Issue History
2015-05-14 05:31Felix GeyerNew Issue
2015-05-14 05:31Felix GeyerFile Added: Squish4RunTestCase_bashism.diff
2015-05-14 08:54Brad KingNote Added: 0038745
2015-05-14 08:54Brad KingStatusnew => resolved
2015-05-14 08:54Brad KingResolutionopen => fixed
2015-05-14 08:54Brad KingFixed in Version => CMake 3.3
2015-05-14 08:54Brad KingTarget Version => CMake 3.3
2015-11-02 09:15Robert MaynardNote Added: 0039810
2015-11-02 09:15Robert MaynardStatusresolved => closed

Notes
(0038745)
Brad King   
2015-05-14 08:54   
Applied, thanks:

 FindSquish: Avoid bash-specific behavior in test script
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=12b85b17 [^]
(0039810)
Robert Maynard   
2015-11-02 09:15   
Closing resolved issues that have not been updated in more than 4 months.