File: trivtest

package info (click to toggle)
creduce 2.6.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 4,328 kB
  • ctags: 4,312
  • sloc: cpp: 23,740; ansic: 6,970; sh: 4,827; perl: 2,680; lex: 441; makefile: 426
file content (19 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# see delta/License.txt for copyright and terms of use

# The test script for this test of multidelta.

# Demonstrate the difference between the multidelta_all_files
# environment variable and the arugment list.
echo
echo "multidelta_all_files:$multidelta_all_files:"
echo "argument list:$@:"

exec >/dev/null 2>&1
set -e

# file 1 should have "foo"
grep "foo" file1.txt || exit

# file 2 should have "bar"
grep "bar" file2.txt || exit