]> arthur.barton.de Git - bup.git/commit
Replace randomgen with a new 'bup random' command.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 11 Feb 2010 21:27:38 +0000 (16:27 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 11 Feb 2010 21:54:30 +0000 (16:54 -0500)
commit75ec2b7f56d616a24ac6d96c1316062e2be34463
treebd7ee6e2334c6b6c8aadc6801044b20f766fd3bc
parent2ea210b50b52b3bc817144fb512c9ce1bf3be0cc
Replace randomgen with a new 'bup random' command.

Now we can override the random seed.  Plus we can specify units
thanks to a new helpers.parse_num() functions, so it's not always kb.

Thus, we can now just do
bup random 50G
to generate 50 gigs of random data for testing.

Update "bup split" parameter parsing to use parse_num() too while we're
there.
Makefile
_hashsplit.c
cmd-random.py [new file with mode: 0755]
cmd-split.py
helpers.py
randomgen.c [deleted file]
t/thelpers.py [new file with mode: 0644]