#! /bin/sh

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

room "Room 1";
item "ball" tag ball;
item "ceiling plaster" tag plaster;
task "Throw ball at ceiling" need ball drop it get last goto R2;
task "Twiddle thumbs";

room "Room 2" dir s tag R2;
task "Win" need ball;
END

cmp -s $SRCDIR/tests/test-drop1.exp $BUILDDIR/tests/test-drop1.out
