#! /bin/sh

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

room "Start";
task "Win" after first;

room "Kitchen" dir s note "Funny smell here";
item "spoon" note "it's a spoon" note "or is it?";

room "Garage" dir s;
task "Do first" tag first note "First task" note "Another note";
END

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