From 452595790e68544ff294f840d79383d97af1bf0a Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Mon, 8 Oct 2012 15:29:57 -0200 Subject: [PATCH] fix test-scrapyd.sh after changes made to website --- extras/test-scrapyd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/test-scrapyd.sh b/extras/test-scrapyd.sh index 4854f599e..5e9080250 100755 --- a/extras/test-scrapyd.sh +++ b/extras/test-scrapyd.sh @@ -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