diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-07-28 21:28:00 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-07-28 21:28:00 +0200 |
commit | ff98cc74fd06ef167eb2404ce93051d92dd75caf (patch) | |
tree | ab71535e9fd32bd7d9fa122b3e7937633d819c0e /tests/url/exec_test | |
parent | 3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044 (diff) | |
download | crawler-ff98cc74fd06ef167eb2404ce93051d92dd75caf.tar.gz crawler-ff98cc74fd06ef167eb2404ce93051d92dd75caf.tar.bz2 |
heavy redesign of URL class, must not contain any parsing logic as
it is the caninic representation
URLNormalizers are used for intepreting strings and contexts as URL
currently nothing runs :-)
Diffstat (limited to 'tests/url/exec_test')
-rwxr-xr-x | tests/url/exec_test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/url/exec_test b/tests/url/exec_test new file mode 100755 index 0000000..8628c2d --- /dev/null +++ b/tests/url/exec_test @@ -0,0 +1,10 @@ +#!/bin/sh + +BINARY=$1 +shift +TITLE=$1 +shift + +printf "$BINARY: $TITLE .. " +./$BINARY $* >$BINARY.RES 2>&1 +diff $BINARY.MUST $BINARY.RES > $BINARY.DIFF && printf "OK\n" || printf "ERROR\n" |