Hi
ocf-tester command is failed when -o option includes a space
character, see below.
------------------
# /usr/sbin/ocf-tester -n postgresql -o
pgctl="/usr/local/pgsql/bin/pg_ctl" -o
psql="/usr/local/pgsql/bin/psql" -o pgdata="/var/lib/pgsql/9.1/data/"
-o start_opt="-p 5432" pgsql
Beginning tests for pgsql...
/usr/sbin/ocf-tester: line 263: export: `5432': not a valid identifier
------------------
I attached a patch.
Best Regards,
Takatoshi MATSUO
ocf-tester command is failed when -o option includes a space
character, see below.
------------------
# /usr/sbin/ocf-tester -n postgresql -o
pgctl="/usr/local/pgsql/bin/pg_ctl" -o
psql="/usr/local/pgsql/bin/psql" -o pgdata="/var/lib/pgsql/9.1/data/"
-o start_opt="-p 5432" pgsql
Beginning tests for pgsql...
/usr/sbin/ocf-tester: line 263: export: `5432': not a valid identifier
------------------
I attached a patch.
Best Regards,
Takatoshi MATSUO