make
./pb_test_write foo 50000 4
would write 4 files with 50000 lines of data similar to the analog pizza box output.
You can call the tester and verify the output by using the python script. With this method you don't need to run the instructions above.
make
In [1]: %run run_and_verify.py
In [2]: run("foo", 50000, 6)
Running : ['./pb_test_write', 'foo', '50000', '6']
Writing to foo00000.txt
Writing 50000 lines total
Writing to foo00001.txt
Writing 50000 lines total
Writing to foo00002.txt
Writing 50000 lines total
Writing to foo00003.txt
Writing 50000 lines total
Writing to foo00004.txt
Writing 50000 lines total
Writing to foo00005.txt
Writing 50000 lines total
In [3]: verify("foo", 50000, 6)