client
Last change
on this file since 83d9608 was
83d9608,
checked in by Alex Dehnert <adehnert@…>, 14 years ago
|
Add test for reporting
aggregate and annotate should return the same results, so add an automatic
test to verify that they do.
|
-
Property mode set to
100644
|
File size:
389 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | baseurl=${1:-http://localhost:8001/finance_core/reporting/?term=2010-spring} |
---|
4 | dirname=$(mktemp -d /tmp/remit.XXXXXX) |
---|
5 | methods="annotate aggregate" |
---|
6 | cd $dirname |
---|
7 | wget -O default.html "$baseurl" |
---|
8 | for method in $methods; do |
---|
9 | wget -O $method.html "$baseurl&compute_method=$method" |
---|
10 | done |
---|
11 | for method in $methods; do |
---|
12 | diff -q --report-identical-files default.html $method.html |
---|
13 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.