diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-08-07 20:20:43 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-08-07 20:20:43 +0300 |
commit | e3a89e350816a5862f2c6fe492ca4eb1cc1c0b2a (patch) | |
tree | 962fde7c1d0688ec6d570d6f438b5679cd01f350 | |
parent | a9cedf7475975d4efbb52533207fc9ea44c3fa7a (diff) | |
download | obnam-benchmarks-e3a89e350816a5862f2c6fe492ca4eb1cc1c0b2a.tar.gz |
Add test-run to run an example
-rwxr-xr-x | test-run | 10 | ||||
-rw-r--r-- | test.yaml | 6 |
2 files changed, 13 insertions, 3 deletions
diff --git a/test-run b/test-run new file mode 100755 index 0000000..3bad01d --- /dev/null +++ b/test-run @@ -0,0 +1,10 @@ +#!/bin/sh + +set -eu + +rm -rf test.dir +mkdir test.dir +mkdir test.dir/html +mkdir test.dir/reports + +./obbench test.yaml master~2 master~1 master @@ -15,7 +15,7 @@ benchmarks: obnam: backup - obnam: restore - obnam: backup -reports_dir: /home/liw/obnam/benchmarks/reports -html_dir: /home/liw/obnam/benchmarks/html +reports_dir: /home/liw/obnam/benchmarks/test.dir/reports +html_dir: /home/liw/obnam/benchmarks/test.dir/html publish_html: echo PUBLISHING HTML HERE -state: /home/liw/obnam/benchmarks/state.yaml +state: /home/liw/obnam/benchmarks/test.dir/state.yaml |