File: real-thing

package info (click to toggle)
cssc 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 11,368 kB
  • sloc: cpp: 39,446; ansic: 17,403; sh: 11,328; python: 3,923; makefile: 1,929; perl: 342; awk: 15; sed: 15
file content (17 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

# This defines TESTING_CSSC to "true" if we are testing CSSC, or defines 
# it to false if we are not.  In the latter case we are usually testing 
# some vendor's implementation.

if test -z "${admin}"; then
    echo '${admin} is not set, please source common/test-common before common/real-thing' >&2
    exit 1
fi

if ( ${admin} -V 2>&1 ; echo umsp )  | grep CSSC >/dev/null
then
    TESTING_CSSC=true
else
    TESTING_CSSC=false
fi