]> arthur.barton.de Git - bup.git/commit
test-cat-file.sh: handle hashsplit bupm files
authorRob Browning <rlb@defaultvalue.org>
Fri, 17 Oct 2014 15:44:24 +0000 (10:44 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Oct 2014 15:48:07 +0000 (10:48 -0500)
commit4638bf0e7f7e3b0545968982c445e04498ca654c
treed1c1cbb168c821e589d975b406fba6745974b299
parent6c14d90cecf074255ce522032b107abf961e5e3d
test-cat-file.sh: handle hashsplit bupm files

A bit back we started allowing .bupm files to be hashsplit:

  ee777400cf624b4f7a24b15614c2b6c745560dcb

So add t/git-cat-tree and use it in test-cat-file.sh to prevent the
test from crashing whenever the bupm is a tree.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/git-cat-tree [new file with mode: 0755]
t/test-cat-file.sh