a55c143e239bc70bf900144c4cea7b66252ff4fb
[cql-java-moved-to-github.git] / test / regression / showtest
1 #!/bin/sh
2
3 # $Id: showtest,v 1.6 2002-11-28 11:56:55 mike Exp $
4
5 if [ $# != 1 ]; then
6         echo "Usage: $0 <test-name>" >&2
7         echo "  e.g. $0 01/02" >&2
8         exit 1
9 fi
10
11 ### Warning: nasty hard-coded choices
12 ( echo "=== Adam ==="
13   ../../../srw/cql/cql2xcql < sections/$1.cql ) > /tmp/adam
14 ( echo "=== Mike ==="
15   ../../bin/CQLParser < sections/$1.cql ) > /tmp/mike
16 sdiff -w 80 /tmp/adam /tmp/mike