% make bmtest /cs/local/bin/javac -classpath ../:/cs/dept/course/2005-06/F/4411/bufmgr/lib/bufmgrAssign.jar: TestDriver.java BMTest.java /cs/local/bin/java -classpath ../:/cs/dept/course/2005-06/F/4411/bufmgr/lib/bufmgrAssign.jar: tests.BMTest Running Buffer Management tests.... Replacer: Clock Test 1 does a simple test of normal buffer manager operations: - Allocate a bunch of new pages - Write something on each one - Read that something back from each one (because we're buffering, this is where most of the writes happen) - Free the pages again Test 1 completed successfully. Test 2 exercises some illegal buffer manager operations: - Try to pin more pages than there are frames *** Pinning too many pages --> Failed as expected - Try to free a doubly-pinned page *** Freeing a pinned page --> Failed as expected - Try to unpin a page not in the buffer pool *** Unpinning a page not in the buffer pool --> Failed as expected Test 2 completed successfully. Test 3 exercises some of the internals of the buffer manager - Allocate and dirty some new pages, one at a time, and leave some pinned - Read the pages Test 3 completed successfully. ...Buffer Management tests completely successfully.