@SkipUnless(svntest.main.is_fs_type_fsfs)
def verify_keep_going_quiet(sbox):
    'svnadmin verify --keep-going --quiet test'
    if svntest.main.options.fsfs_packing:
        raise svntest.Skip('fsfs packing set')
    sbox.build(create_wc=False)
    repo_url = sbox.repo_url
    B_url = (sbox.repo_url + '/B')
    C_url = (sbox.repo_url + '/C')
    svntest.actions.run_and_verify_svn(None, [], 'mkdir', '-m', 'log_msg', B_url)
    svntest.actions.run_and_verify_svn(None, [], 'mkdir', '-m', 'log_msg', C_url)
    r2 = fsfs_file(sbox.repo_dir, 'revs', '2')
    fp = open(r2, 'r+b')
    fp.write(b'inserting junk to corrupt the rev')
    fp.close()
    (exit_code, output, errput) = svntest.main.run_svnadmin('verify', '--keep-going', '--quiet', sbox.repo_dir)
    exp_err = svntest.verify.RegexListOutput(['.*Error verifying revision 2.', 'svnadmin: E160004:.*', 'svnadmin: E160004:.*', '.*Error verifying revision 3.', 'svnadmin: E160004:.*', 'svnadmin: E160004:.*', 'svnadmin: E205012:.*'], False)
    if svntest.main.is_fs_log_addressing():
        exp_err.insert(0, '.*Error verifying repository metadata.')
        exp_err.insert(1, 'svnadmin: E160004:.*')
    if svntest.verify.verify_outputs("Unexpected error while running 'svnadmin verify'.", output, errput, None, exp_err):
        raise svntest.Failure
    svntest.main.safe_rmtree(sbox.repo_dir, True)
svnadmin verify --keep-going --quiet test
@SkipUnless(svntest.main.is_fs_type_fsfs)
def verify_keep_going_quiet(sbox):
    
    if svntest.main.options.fsfs_packing:
        raise svntest.Skip('fsfs packing set')
    sbox.build(create_wc=False)
    repo_url = sbox.repo_url
    B_url = (sbox.repo_url + '/B')
    C_url = (sbox.repo_url + '/C')
    svntest.actions.run_and_verify_svn(None, [], 'mkdir', '-m', 'log_msg', B_url)
    svntest.actions.run_and_verify_svn(None, [], 'mkdir', '-m', 'log_msg', C_url)
    r2 = fsfs_file(sbox.repo_dir, 'revs', '2')
    fp = open(r2, 'r+b')
    fp.write(b'inserting junk to corrupt the rev')
    fp.close()
    (exit_code, output, errput) = svntest.main.run_svnadmin('verify', '--keep-going', '--quiet', sbox.repo_dir)
    exp_err = svntest.verify.RegexListOutput(['.*Error verifying revision 2.', 'svnadmin: E160004:.*', 'svnadmin: E160004:.*', '.*Error verifying revision 3.', 'svnadmin: E160004:.*', 'svnadmin: E160004:.*', 'svnadmin: E205012:.*'], False)
    if svntest.main.is_fs_log_addressing():
        exp_err.insert(0, '.*Error verifying repository metadata.')
        exp_err.insert(1, 'svnadmin: E160004:.*')
    if svntest.verify.verify_outputs("Unexpected error while running 'svnadmin verify'.", output, errput, None, exp_err):
        raise svntest.Failure
    svntest.main.safe_rmtree(sbox.repo_dir, True)