496e20755fbf86341d3119385ccd27fa61ec044f
[cql-java-moved-to-github.git] / test / regression / showtest
1 #!/bin/sh
2
3 # $Id: showtest,v 1.3 2002-11-06 22:03:58 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 "=== Rob ==="
13   ../../../rob/CQLParser.py < sections/$1.cql ) > /tmp/rob
14 ( echo "=== Mike ==="
15   ../../bin/CQLParser < sections/$1.cql ) > /tmp/mike
16 sdiff -w 80 /tmp/rob /tmp/mike