userdiff: add a builtin pattern for dts files
[gitweb.git] / t / t7700-repack.sh
index 54f815b8b9e101a30312ef390effee2c65d1a635..4e855bc21b45c47a2646f7524b66bbdda87698c8 100755 (executable)
@@ -245,7 +245,8 @@ test_expect_success 'no bitmaps created if .keep files present' '
        keep=${pack%.pack}.keep &&
        test_when_finished "rm -f \"\$keep\"" &&
        >"$keep" &&
-       git -C bare.git repack -ad &&
+       git -C bare.git repack -ad 2>stderr &&
+       test_must_be_empty stderr &&
        find bare.git/objects/pack/ -type f -name "*.bitmap" >actual &&
        test_must_be_empty actual
 '