]> arthur.barton.de Git - bup.git/commit
test-prune-older: avoid duplicate save times
authorRob Browning <rlb@defaultvalue.org>
Thu, 15 Dec 2016 18:45:19 +0000 (12:45 -0600)
committerRob Browning <rlb@defaultvalue.org>
Thu, 15 Dec 2016 18:45:23 +0000 (12:45 -0600)
commit13d8c6b7ae3c399a5436f0aa5928e7ba8d485f0e
tree9aa846fe97df51930252070abe783c7991fd8ec4
parent98f184fce9a80642204fe9046ae5be9ae9ff7aa7
test-prune-older: avoid duplicate save times

When creating the list of random save times make sure to avoid any
duplicates since the timestamp is also the trivial commit content.
Otherwise the git commit for the second save dies with "nothing to
commit, working tree clean".

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/test-prune-older