File: list.test

package info (click to toggle)
tnef 1.4.18-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,616 kB
  • sloc: ansic: 3,223; sh: 1,702; makefile: 197; perl: 60; awk: 58
file content (21 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

. $srcdir/../util.sh

bin=$srcdir/../../src/tnef
tnef_file=$srcdir/test.tnef

rm -f $srcdir/AUTHORS

echo $bin -t $tnef_file > $srcdir/list.output 2>&1
$bin -t $tnef_file >> $srcdir/list.output 2>&1

if [ -f $srcdir/AUTHORS ]; then
   echo "AUTHORS file exists! Test Failed!"
   exit 1
fi

echo >> $srcdir/list.output
echo $bin --list $tnef_file >> $srcdir/list.output 2>&1
$bin --list $tnef_file >> $srcdir/list.output 2>&1
check_test list