[postgis-devel] run_test syntax error on Solaris

Michael Fuhr mike at fuhr.org
Fri Jan 20 19:27:53 PST 2006


Regression tests are failing on Solaris 9:

./run_test: PGOPTIONS= -c lc_messages=C: is not an identifier
gmake[1]: *** [test] Error 1

The error is a result of the following line in run_test:

export PGOPTIONS="${PGOPTIONS} -c lc_messages=C"

The traditional Bourne Shell on Solaris doesn't understand the
"export variable=value" syntax; the assignment and the export must
be done separately:

PGOPTIONS="${PGOPTIONS} -c lc_messages=C"
export PGOPTIONS

I see a similar line that needs to be changed in test_index_concurrency,
although that isn't part of the regular regression tests.

-- 
Michael Fuhr



More information about the postgis-devel mailing list