summaryrefslogtreecommitdiff
path: root/tests/11_crawl-parsing.test
blob: 3c75c248e71dd6f41f2ceb9295b9b804fceda058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
#

bash check-network.sh ||  ! echo "skipping online unit tests" || exit 77

# http://code.google.com/p/httrack/issues/detail?id=4&can=1
bash crawl-test.sh --errors 0 --files 4 \
	--found ut.httrack.com/parsing/back5e1f.gif \
	--found ut.httrack.com/parsing/events.html \
	--found ut.httrack.com/parsing/fade230f4.gif \
	--found ut.httrack.com/parsing/fade3860.gif \
	httrack http://ut.httrack.com/parsing/events.html

# http://code.google.com/p/httrack/issues/detail?id=2&can=1
bash crawl-test.sh --errors 0 --files 3 \
	--found ut.httrack.com/parsing/background-image.css \
	--found ut.httrack.com/parsing/background-image.html \
	--found ut.httrack.com/parsing/fade.gif \
	httrack http://ut.httrack.com/parsing/background-image.html

# javascript parsing
bash crawl-test.sh --errors 0 --files 3 \
	--found ut.httrack.com/parsing/back.gif \
	--found ut.httrack.com/parsing/fade.gif \
	--found ut.httrack.com/parsing/javascript.html \
	httrack http://ut.httrack.com/parsing/javascript.html