comparison .hgsigs @ 14831:0407b7613e99 stable

treediscovery: rename stop() in tests to fix failures on AIX. It seems ksh, the default shell on AIX, does not permit the creation of a function called stop(). test-treediscovery.t and test-treediscovery-legacy.t both fail on AIX with error 'syntax error at line 25 : `(' unexpected'. Fix by renaming stop() in the scripts to tstop(). For completeness rename start() to tstart() to match. Both tests then pass on AIX. Add check for the use of stop() in a shell script to check-code.
author Jim Hague <jim.hague@acm.org>
date Tue, 05 Jul 2011 11:53:32 +0100
parents 24ecdbe7c5c8
children 9991f8b19ff3
comparison
equal deleted inserted replaced
14830:35f5cfdd0427 14831:0407b7613e99