
David Abrahams wrote:
Jonathan Wakely <cow@compsoc.man.ac.uk> writes:
tools/regression/run_tests.sh uses the "export x=y" syntax, which is not supported by /bin/sh on Solaris9 (and probably other systems.)
That's a bash-ism, AFAIK.
It works with ksh too, which Solaris uses for its POSIX-conforming shell. /bin/sh means traditional sh on many systems though.
This means "sh run_tests.sh" or "chmod u+x run_tests.sh; ./run_tests.sh" won't work, you must use /usr/xpg4/bin/sh or another, better, sh.
The attached patch fixes the problem, at only a slight readability cost. Is this OK to apply?
Please just do it!
It was wrong to begin with; you never need permission to fix something completely broken.
Done. I'll fix a couple of typos and a duplicated chunk (the bind example) in /index.htm too. jon