From: Michael Orlitzky Date: Thu, 12 Jun 2014 21:25:59 +0000 (-0400) Subject: Update a shell test since we threw some new test files in test/xml. X-Git-Tag: 0.0.6~213 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=bc49d99cfbe5530e4b57eeda9367a43dd7939c53;p=dead%2Fhtsn-import.git Update a shell test since we threw some new test files in test/xml. --- diff --git a/test/shell/import-duplicates.test b/test/shell/import-duplicates.test index fbbe6d7..b262b82 100644 --- a/test/shell/import-duplicates.test +++ b/test/shell/import-duplicates.test @@ -15,15 +15,15 @@ rm -f shelltest.sqlite3 # Heartbeat.xml that doesn't really count. find ./test/xml -maxdepth 1 -name '*.xml' | wc -l >>> -16 +17 >>>= 0 # Run the imports again; we should get complaints about the duplicate -# xml_file_ids. There are 2 errors for each violation, so we expect 2*15 +# xml_file_ids. There are 2 errors for each violation, so we expect 2*16 # occurrences of the string 'ERROR'. ./dist/build/htsn-import/htsn-import -c 'shelltest.sqlite3' test/xml/*.xml 2>&1 | grep ERROR | wc -l >>> -30 +32 >>>= 0 # Finally, clean up after ourselves.