def load_txdelta(sbox):
    'exercising svn_txdelta_target on BDB'
    sbox.build(empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'load_txdelta.dump.gz')
    dumpfile = gzip.open(dumpfile_location, 'rb').readlines()
    load_dumpstream(sbox, dumpfile)
    (exit_code, output, errput) = svntest.main.run_svnadmin('verify', sbox.repo_dir)
    if errput:
        raise SVNUnexpectedStderr(errput)
    if svntest.verify.verify_outputs("Output of 'svnadmin verify' is unexpected.", None, output, None, '.*Verified revision *'):
        raise svntest.Failure
exercising svn_txdelta_target on BDB
def load_txdelta(sbox):
    
    sbox.build(empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'load_txdelta.dump.gz')
    dumpfile = gzip.open(dumpfile_location, 'rb').readlines()
    load_dumpstream(sbox, dumpfile)
    (exit_code, output, errput) = svntest.main.run_svnadmin('verify', sbox.repo_dir)
    if errput:
        raise SVNUnexpectedStderr(errput)
    if svntest.verify.verify_outputs("Output of 'svnadmin verify' is unexpected.", None, output, None, '.*Verified revision *'):
        raise svntest.Failure