diff options
Diffstat (limited to 't/t6115-rev-list-du.sh')
| -rwxr-xr-x | t/t6115-rev-list-du.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t6115-rev-list-du.sh b/t/t6115-rev-list-du.sh index d59111dede..3385fe9f13 100755 --- a/t/t6115-rev-list-du.sh +++ b/t/t6115-rev-list-du.sh @@ -1,6 +1,7 @@ #!/bin/sh test_description='basic tests of rev-list --disk-usage' + . ./test-lib.sh # we want a mix of reachable and unreachable, as well as @@ -48,6 +49,13 @@ check_du HEAD check_du --objects HEAD check_du --objects HEAD^..HEAD +test_expect_success 'setup for --unpacked tests' ' + git repack -adb && + test_commit unpacked +' + +check_du --all --objects --unpacked + # As mentioned above, don't use hardcode sizes as actual size, but use the # output from git cat-file. test_expect_success 'rev-list --disk-usage=human' ' |
