fix test-scrapyd.sh after changes made to website

This commit is contained in:
Pablo Hoffman 2012-10-08 15:29:57 -02:00
parent 3c3c0c1f3f
commit 452595790e
1 changed files with 2 additions and 2 deletions

View File

@ -96,13 +96,13 @@ if [ ! -f "$log_path" ]; then
fi
numitems="$(cat $feed_path | wc -l)"
if [ "$numitems" != "7" ]; then
if [ "$numitems" != "6" ]; then
echo "error: wrong number of items scraped: $numitems"
exit 1
fi
numscraped="$(cat $log_path | grep Scraped | wc -l)"
if [ "$numscraped" != "7" ]; then
if [ "$numscraped" != "6" ]; then
echo "error: wrong number of 'Scraped' lines in log: $numscraped"
exit 1
fi