Merge branch 'es/format-patch-interdiff' into es/format-patch-rangediff
[gitweb.git] / t / t3210-pack-refs.sh
index afa27ffe2d869a5e7fdf8318d5b9957208a96c52..724b4b9bc037a229ec4fae9d6e49e0cf47188070 100755 (executable)
@@ -231,9 +231,9 @@ test_expect_success 'timeout if packed-refs.lock exists' '
 test_expect_success 'retry acquiring packed-refs.lock' '
        LOCK=.git/packed-refs.lock &&
        >"$LOCK" &&
-       test_when_finished "wait; rm -f $LOCK" &&
+       test_when_finished "wait && rm -f $LOCK" &&
        {
-               ( sleep 1 ; rm -f $LOCK ) &
+               ( sleep 1 && rm -f $LOCK ) &
        } &&
        git -c core.packedrefstimeout=3000 pack-refs --all --prune
 '