X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft5301-sliding-window.sh;h=2fc5af6007c75b7789cf2a91163939e24e00ac09;hb=5acb623b72bde9ec96c48a8bb8f50e61371705ee;hp=0a24e61ff942ee91dfb25fe490330a0272480ac2;hpb=a0c0447b8eda07529eec2ae8fbc6bf68e1ff2d67;p=git.git diff --git a/t/t5301-sliding-window.sh b/t/t5301-sliding-window.sh index 0a24e61ff..2fc5af600 100755 --- a/t/t5301-sliding-window.sh +++ b/t/t5301-sliding-window.sh @@ -8,7 +8,7 @@ test_description='mmap sliding window tests' test_expect_success \ 'setup' \ - 'rm -f .git/index* + 'rm -f .git/index* && for i in a b c do echo $i >$i && @@ -48,7 +48,7 @@ test_expect_success \ git repack -a -d && test "`git count-objects`" = "0 objects, 0 kilobytes" && pack2=`ls .git/objects/pack/*.pack` && - test -f "$pack2" + test -f "$pack2" && test "$pack1" \!= "$pack2"' test_expect_success \