def test_arj(archive, compression, cmd, verbosity, interactive):
    """Test an ARJ archive."""
    cmdlist = [cmd, 't', '-r']
    if not interactive:
        cmdlist.append('-y')
    cmdlist.append(archive)
    return cmdlist
