Compiling base on my Linux host with CMD_CFLAGS=-funsigned-char and CMD_CXXFLAGS=-funsigned char builds an ioc that shows the same buggy behavior (complaining about any command with "Unbalanced quote" error).
And it fails iocshTest.t:
Test Summary Report
-------------------
iocshTest.t (Wstat: 256 Tests: 19 Failed: 8)
Failed tests: 2, 4-5, 9, 14-17
And in database/test/std/rec/:
Unbalanced quote.
iocsh Error: Break
dbAllocRecord(rec0) with ao rec_size = 0
Can't create record "rec0" of type "ao"
Error at or before ')' in path ".." file "asTest.db" line 1
Error: syntax error
Bailout called. Further testing stopped: Failed to load test database
FAILED--Further testing stopped: Failed to load test database
After applying the patch iocsh works and all tests succeed.
Compiling base on my Linux host with CMD_CFLAGS= -funsigned- char and CMD_CXXFLAGS= -funsigned char builds an ioc that shows the same buggy behavior (complaining about any command with "Unbalanced quote" error).
And it fails iocshTest.t:
Test Summary Report
-------------------
iocshTest.t (Wstat: 256 Tests: 19 Failed: 8)
Failed tests: 2, 4-5, 9, 14-17
And in database/ test/std/ rec/:
Unbalanced quote.
iocsh Error: Break
dbAllocRecord(rec0) with ao rec_size = 0
Can't create record "rec0" of type "ao"
Error at or before ')' in path ".." file "asTest.db" line 1
Error: syntax error
Bailout called. Further testing stopped: Failed to load test database
FAILED--Further testing stopped: Failed to load test database
After applying the patch iocsh works and all tests succeed.