client
Last change
on this file since ae83758 was
ae83758,
checked in by Alex Dehnert <adehnert@…>, 14 years ago
|
Improved testing
|
-
Property mode set to
100644
|
File size:
543 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | methods="annotate aggregate" |
---|
4 | baseurl=${1:-http://localhost:8001/finance_core/reporting/?term=2010-spring} |
---|
5 | baseurls="$baseurl $baseurl&area=13 $baseurl&layer=30" |
---|
6 | for testbaseurl in $baseurls; do |
---|
7 | echo $testbaseurl |
---|
8 | dirname=$(mktemp -d /tmp/remit.XXXXXX) |
---|
9 | cd $dirname |
---|
10 | wget -O default.html "$baseurl" |
---|
11 | for method in $methods; do |
---|
12 | wget -q -O $method.html "$baseurl&compute_method=$method" |
---|
13 | done |
---|
14 | for method in $methods; do |
---|
15 | diff -q --report-identical-files default.html $method.html |
---|
16 | done |
---|
17 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.