mirror of https://github.com/scrapy/scrapy.git
fix test-scrapyd.sh after changes made to website
This commit is contained in:
parent
3c3c0c1f3f
commit
452595790e
|
|
@ -96,13 +96,13 @@ if [ ! -f "$log_path" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
numitems="$(cat $feed_path | wc -l)"
|
numitems="$(cat $feed_path | wc -l)"
|
||||||
if [ "$numitems" != "7" ]; then
|
if [ "$numitems" != "6" ]; then
|
||||||
echo "error: wrong number of items scraped: $numitems"
|
echo "error: wrong number of items scraped: $numitems"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
numscraped="$(cat $log_path | grep Scraped | wc -l)"
|
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"
|
echo "error: wrong number of 'Scraped' lines in log: $numscraped"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue