From ff25a60b1b85c92a7e76a735a2c79c0205233a27 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Sat, 17 Feb 2018 10:19:47 +0000 Subject: v2writable: initial cut for repo-rotation Wrap the old Import package to enable creating new repos based on size thresholds. This is better than relying on time-based rotation as LKML traffic seems to be increasing. --- t/git.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/git.t b/t/git.t index 5efc18ab..ab588a15 100644 --- a/t/git.t +++ b/t/git.t @@ -137,6 +137,9 @@ if (1) { is($all, join('', @ref), 'qx returned array when wanted'); my $nl = scalar @ref; ok($nl > 1, "qx returned array length of $nl"); + + $gcf->qx(qw(repack -adbq)); + ok($gcf->packed_bytes > 0, 'packed size is positive'); } done_testing(); -- cgit v1.2.3-24-ge0c7