#!/bin/sh
#
# Test command line option --state.
#

. $srcdir/defs || exit 1

result=`$states --state=test_optionstate $srcdir/tests.st 2>&1`

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