@SkipUnless(svntest.main.is_fs_type_fsfs)
@SkipUnless(svntest.main.fs_has_pack)
def fsfs_pack_non_sharded(sbox):
    "'svnadmin pack' on a non-sharded repository"
    sbox.build(create_wc=False, minor_version=min(svntest.main.options.server_minor_version, 3))
    if is_sharded(sbox.repo_dir):
        raise svntest.Skip('sharded pre-cooked repository')
    svntest.actions.run_and_verify_svnadmin(None, [], 'upgrade', sbox.repo_dir)
    svntest.actions.run_and_verify_svnadmin(['svnadmin: Warning - this repository is not sharded. Packing has no effect.\n'], [], 'pack', sbox.repo_dir)
'svnadmin pack' on a non-sharded repository
@SkipUnless(svntest.main.is_fs_type_fsfs)
@SkipUnless(svntest.main.fs_has_pack)
def fsfs_pack_non_sharded(sbox):
    
    sbox.build(create_wc=False, minor_version=min(svntest.main.options.server_minor_version, 3))
    if is_sharded(sbox.repo_dir):
        raise svntest.Skip('sharded pre-cooked repository')
    svntest.actions.run_and_verify_svnadmin(None, [], 'upgrade', sbox.repo_dir)
    svntest.actions.run_and_verify_svnadmin(['svnadmin: Warning - this repository is not sharded. Packing has no effect.\n'], [], 'pack', sbox.repo_dir)