client
|
Last change
on this file since d1692e8 was
d1692e8,
checked in by Alex Dehnert <adehnert@…>, 17 years ago
|
|
Finally completely punt the old-style annotate
|
-
Property mode set to
100644
|
|
File size:
550 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | methods="annotate aggregate" |
|---|
| 4 | baseurl=${1:-http://localhost:8001/finance_core/reporting/?a=b} |
|---|
| 5 | baseurls="$baseurl&term=2010-spring $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 -q -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.