#!/bin/sh
#
# Test command line variable definitions.
#

. $srcdir/defs || exit 1

result=`$states --state=test_vardef --define=a_variable=ok $srcdir/defs 2>&1`

if test "X$result" != "Xok"; then
  exit 1;
fi
