remove loose objects if running tests with GOT_TEST_PACK
diff --git a/regress/cmdline/common.sh b/regress/cmdline/common.sh
index bf70684..e549610 100644
--- a/regress/cmdline/common.sh
+++ b/regress/cmdline/common.sh
@@ -47,6 +47,7 @@ maybe_pack_repo()
local repo="$1"
if [ -n "$GOT_TEST_PACK" ]; then
(cd $repo && gotadmin pack -a > /dev/null)
+ (cd $repo && gotadmin cleanup -a -q)
fi
}