#! /bin/sh

$BUILDDIR/src/ifm -I$SRCDIR/lib -w -m -i -t -f raw 2>&1 > $BUILDDIR/tests/test-it.out <<END
# Test of 'it'.

room "Room";

item "thing1" tag thing1;
item "thing2" tag thing2;
item "thing3" tag thing3;

task "Do something" need thing1 lose it;
task "Do another thing" need thing2 need thing3 drop it;
END

diff -b $SRCDIR/tests/test-it.exp $BUILDDIR/tests/test-it.out
