#pragma repy

if callfunc == "initialize":
  # first, initialize by creating the file we'll read.
  fobj = open("junk_test.out", 'w')
  fobj.write("hello")
  fobj.close()
  
  # now the actual test
  fobj = open("junk_test.out", 'rb')
  fobj.read()
  fobj.seek(0)
  fobj.read(-1)
