def test_zip(archive, compression, cmd, verbosity, interactive):
    """Test a ZIP archive."""
    cmdlist = [cmd, '-t']
    if verbosity > 1:
        cmdlist.append('-v')
    cmdlist.extend(['--', archive])
    return cmdlist
