• Richard W.M. Jones's avatar
    random: Implement write support for testing copying. · 09e985dd
    Richard W.M. Jones authored
    As with nbdkit-sparse-random-plugin added recently, add write support
    to the older nbdkit-random-plugin.  This verifies that what is written
    is what would have been read, allowing you to test copying programs by
    doing:
    
      nbdkit -U - random size=100M --run 'nbdcopy "$uri" "$uri"'
    
    This also adds a test of this command.
    09e985dd