Opened 11 years ago
Closed 11 years ago
#471 closed defect (fixed)
petascope_insertdemo.sh test for coverage always fails
Reported by: | abeccati | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 8.5.1 |
Component: | petascope | Version: | 8.5 |
Keywords: | Cc: | ||
Complexity: | Easy |
Description
With the changeset 58ab1438 modification I always get "already inserted" when testing for the presence of mean_summer_airtemp into petascope.
Changing the test to:
if [ "$id" == \(0\ rows\) ] ; then
works on my English-language setup, inserting the demo as needed
The wildcard expansions used seems not a reliable way of testing, probably using substring to test only the first three characters would work
Note:
See TracTickets
for help on using tickets.