X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fshell%2Fimport-duplicates.test;h=8dfddb1c35dd45d6b33890701365337799e32ea6;hb=d8857894f52d19002d5d8fce2d2d57eeefccc3d6;hp=be3dcf592b2ff1a6212b082dd6f117cb8f83b325;hpb=ac72ee5fa40ec449efba2a0ae00d2944886a2f92;p=dead%2Fhtsn-import.git diff --git a/test/shell/import-duplicates.test b/test/shell/import-duplicates.test index be3dcf5..8dfddb1 100644 --- a/test/shell/import-duplicates.test +++ b/test/shell/import-duplicates.test @@ -16,15 +16,15 @@ rm -f shelltest.sqlite3 # and a newsxml that aren't really supposed to import. find ./test/xml -maxdepth 1 -name '*.xml' | wc -l >>> -26 +27 >>>= 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*22 +# xml_file_ids. There are 2 errors for each violation, so we expect 2*23 # occurrences of the string 'ERROR'. ./dist/build/htsn-import/htsn-import -c 'shelltest.sqlite3' test/xml/*.xml 2>&1 | grep ERROR | wc -l >>> -44 +46 >>>= 0 # Finally, clean up after ourselves.