Opened 4 years ago

Closed 4 years ago

#471 closed defect (fixed) test for coverage always fails

Reported by: abeccati Owned by: dmisev
Priority: major Milestone: 8.5.1
Component: petascope Version: 8.5
Keywords: Cc:
Complexity: Easy


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

Change History (1)

comment:1 Changed 4 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.