def load_and_verify_dumpstream(sbox, expected_stdout, expected_stderr, revs, check_props, dump, *varargs):
    "Load the array of lines passed in DUMP into the current tests'\n  repository and verify the repository content using the array of\n  wc.States passed in REVS.  If CHECK_PROPS is True, check properties\n  of each rev's items.  VARARGS are optional arguments passed to the\n  'load' command."
    dump = svntest.main.ensure_list(dump)
    (exit_code, output, errput) = svntest.main.run_command_stdin(svntest.main.svnadmin_binary, expected_stderr, 0, True, dump, 'load', '--quiet', sbox.repo_dir, *varargs)
    if expected_stdout:
        if (expected_stdout is svntest.verify.AnyOutput):
            if (len(output) == 0):
                raise SVNExpectedStdout
        else:
            svntest.verify.compare_and_display_lines('Standard output', 'STDOUT:', expected_stdout, output)
    if expected_stderr:
        if (expected_stderr is svntest.verify.AnyOutput):
            if (len(errput) == 0):
                raise SVNExpectedStderr
        else:
            svntest.verify.compare_and_display_lines('Standard error output', 'STDERR:', expected_stderr, errput)
        return
    if revs:
        for rev in range(len(revs)):
            svntest.actions.run_and_verify_svn(svntest.verify.AnyOutput, [], 'update', ('-r%s' % (rev + 1)), sbox.wc_dir)
            rev_tree = revs[rev]
            svntest.actions.verify_disk(sbox.wc_dir, rev_tree, check_props)
Load the array of lines passed in DUMP into the current tests'
repository and verify the repository content using the array of
wc.States passed in REVS.  If CHECK_PROPS is True, check properties
of each rev's items.  VARARGS are optional arguments passed to the
'load' command.
def load_and_verify_dumpstream(sbox, expected_stdout, expected_stderr, revs, check_props, dump, *varargs):
    "Load the array of lines passed in DUMP into the current tests'\n  repository and verify the repository content using the array of\n  wc.States passed in REVS.  If CHECK_PROPS is True, check properties\n  of each rev's items.  VARARGS are optional arguments passed to the\n  'load' command."
    dump = svntest.main.ensure_list(dump)
    (exit_code, output, errput) = svntest.main.run_command_stdin(svntest.main.svnadmin_binary, expected_stderr, 0, True, dump, 'load', '--quiet', sbox.repo_dir, *varargs)
    if expected_stdout:
        if (expected_stdout is svntest.verify.AnyOutput):
            if (len(output) == 0):
                raise SVNExpectedStdout
        else:
            svntest.verify.compare_and_display_lines('Standard output', 'STDOUT:', expected_stdout, output)
    if expected_stderr:
        if (expected_stderr is svntest.verify.AnyOutput):
            if (len(errput) == 0):
                raise SVNExpectedStderr
        else:
            svntest.verify.compare_and_display_lines('Standard error output', 'STDERR:', expected_stderr, errput)
        return
    if revs:
        for rev in range(len(revs)):
            svntest.actions.run_and_verify_svn(svntest.verify.AnyOutput, [], 'update', ('-r%s' % (rev + 1)), sbox.wc_dir)
            rev_tree = revs[rev]
            svntest.actions.verify_disk(sbox.wc_dir, rev_tree, check_props)