#! /bin/sh

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

room "Room 1" oneway;
task "Pull rope" tag pull;
item "rope" after last;
item "gold bar" score 1 before pull;
item "steel cage" hidden note "Falls on gold bar when rope is pulled";
END

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