File: deleg-1.tst

package info (click to toggle)
a2ps 1:4.14-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,292 kB
  • ctags: 4,908
  • sloc: ansic: 26,659; sh: 12,778; lex: 2,286; perl: 1,156; yacc: 757; makefile: 604; lisp: 398; ada: 263; objc: 189; f90: 109; ml: 85; sql: 74; pascal: 57; modula3: 33; haskell: 32; sed: 30; java: 29; python: 24
file content (28 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh
# -*- ksh -*-

# This program checks that a2ps handles correctly the delegations

: ${SRCDIR=.}

# The options to run with
OPT="-ZEtest_delegation"

# The testing file
IN_NAME=report.pre

# Outputs
OUT_NAME=del.ps

# Set up other vars
. $SRCDIR/defs || exit 1

# Run the test
eval $CHK $OPT $TST_FILE -P $CHK_FILE
if test -f $REF_FILE; then :; else
  eval $REF $OPT $TST_FILE -P $REF_FILE
fi

# Return the verdict
cmp $REF_FILE $CHK_FILE 2> /dev/null
exit $?