#! /bin/sh

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

room "North Room" tag NR exit se sw;
room "South Room" tag SR dir s exit e w;

link SR to NR dir e nw;
link SR to NR dir w ne;
join SR to NR hidden;
END

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