| 1 | #!/bin/sh |
| 2 | # see delta/License.txt for copyright and terms of use |
| 3 | |
| 4 | # The test script for this test of multidelta. |
| 5 | |
| 6 | # Demonstrate the difference between the multidelta_all_files |
| 7 | # environment variable and the arugment list. |
| 8 | echo |
| 9 | echo "multidelta_all_files:$multidelta_all_files:" |
| 10 | echo "argument list:$@:" |
| 11 | |
| 12 | exec >/dev/null 2>&1 |
| 13 | set -e |
| 14 | |
| 15 | # file 1 should have "foo" |
| 16 | grep "foo" file1.txt || exit |
| 17 | |
| 18 | # file 2 should have "bar" |
| 19 | grep "bar" file2.txt || exit |