Debian Codegraph @

delta/test1_multidelta/testit

raw symbols SCIP
1 #!/bin/bash
2 # see delta/License.txt for copyright and terms of use
3
4 # test multidelta
5
6 set -e
7 set -x
8
9 # reset state
10 cp file1.start.txt file1.txt
11 cp file2.start.txt file2.txt
12
13 # run multidelta
14 ../multidelta -cpp -level=3 ./trivtest file1.txt file2.txt
15
16 # compare to expected output
17 diff file1.end.txt file1.txt
18 diff file2.end.txt file2.txt
19
20 # check that -u works
21 ../multidelta -cpp -u ./trivtest file1.txt file2.txt
22
23 # compare to original input
24 diff file1.start.txt file1.txt
25 diff file2.start.txt file2.txt
26
27 # dsw: Tell the user.
28 echo "PASS"