summaryrefslogtreecommitdiff
path: root/tests/11_crawl-parsing.test
blob: c80cbb8f1b38f50513ee1096df9d3c0480acc99b (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 "no network; skipping" || 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