#!/bin/sh
sqlite3 "$REPOCOP_TEST_TMPDIR/tmp.db" <<EOSQL
attach database '$REPOCOP_TEST_DBDIR/description.db' as description;
.mode tabs
.output $REPOCOP_TEST_TMPDIR/msg
select pkgid from RPM_SUMMARY_DESCRIPTION where DESCRIPTION glob "*



*";
EOSQL
perl -ne 'chomp;@a=split /\t/;system(qw/repocop-test-info -k/,$a[0], "Description has 3 empty lines in a row. Format description properly. Beware of errors with \%ifs/\%endifs.")' $REPOCOP_TEST_TMPDIR/msg
#repocop-test-import-tsv --status info --message '%description has 3 empty lines in a row. Format description properly. Beware of errors with \%ifs/\%endifs'
rm $REPOCOP_TEST_TMPDIR/*
