GOT_TEST_PACK=1 is incompatible with cleanup tests
diff --git a/regress/cmdline/cleanup.sh b/regress/cmdline/cleanup.sh
index b55cfe1..b39f8ac 100755
--- a/regress/cmdline/cleanup.sh
+++ b/regress/cmdline/cleanup.sh
@@ -16,6 +16,9 @@
. ./common.sh
+# disable automatic packing for these tests
+export GOT_TEST_PACK=""
+
test_cleanup_unreferenced_loose_objects() {
local testroot=`test_init cleanup_unreferenced_loose_objects`