for (int i = 0; i < 100; i++) {
pw.append("line\n");
}
pw.close();
LocalFileSystem lfs = new LocalFileSystem();
FSDataInputStream fis = lfs.open(pathtotestfile);
// first, we test under "usual" conditions
final LineReader lr = new LineReader(fis, 0, testfile.length(), 256);
byte[] buffer;