Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#403 closed defect (fixed)

Error on hardwired test checking "(0 rows)"

Reported by: swingit Owned by: Jinsongdi Yu
Priority: major Milestone:
Component: systemtest Version: 8.4
Keywords: Cc:
Complexity: Medium

Description

Running test.sh error shows probably due to the hard check of word "rows" whitch OS localization translates with "righe" (italian).

File: systemtest/util/petascope.sh
function: drop_petascope()

The cose tests "$x_id" != "(0 rows)" and obviously fails.

rasdaman@rasdaman-server:~/rasdaman/systemtest/testcases_petascope/test_wcps$ ./test.sh

Old logfile found, copying it to /home/rasdaman/rasdaman/systemtest/testcases_petascope/test_wcps/log.save
test.sh: starting test at lun 10 giu 2013, 16.13.05, CEST
test.sh:
test.sh: deleting coverage rgb from petascope… ERROR: syntax error at or near "righe"
RIGA 1: select id from PS_domain where coverage = (0 righe) and type…


ERROR: syntax error at or near "righe"
RIGA 1: select id from PS_domain where coverage = (0 righe) and type…


ERROR: syntax error at or near "righe"
RIGA 1: delete from PS_Coverage where id = (0 righe)


ERROR: syntax error at or near "righe"
RIGA 1: delete from PS_CellDomain where coverage = (0 righe)

Change History (3)

comment:1 by swingit, 11 years ago

Summary: Error on hardwired test checking "(0 rows)" andError on hardwired test checking "(0 rows)"

comment:2 by Jinsongdi Yu, 11 years ago

Resolution: fixed
Status: newclosed

the regex \(0*\) should be able to work

comment:3 by Piero Campalani, 11 years ago

Bug fixed for WMS utlities too in changeset:6665d10.

Note: See TracTickets for help on using tickets.