1set -e
2
3function run_test {
4  SRC=$1
5  DST=$2
6  rm -rf $2
7  versioner -a 9 -a 12 -a 13 -a 14 -a 15 $1 -i -o $2
8  diff -q -w -B $2 expected
9}
10
11run_test headers out
12run_test headers/ out
13run_test headers out/
14run_test headers/ out/
15
16run_test `pwd`/headers out
17run_test `pwd`/headers/ out
18run_test `pwd`/headers out/
19run_test `pwd`/headers/ out/
20
21run_test headers `pwd`/out
22run_test headers/ `pwd`/out
23run_test headers `pwd`/out/
24run_test headers/ `pwd`/out/
25
26run_test `pwd`/headers `pwd`/out
27run_test `pwd`/headers/ `pwd`/out
28run_test `pwd`/headers `pwd`/out/
29run_test `pwd`/headers/ `pwd`/out/
30