Merge branch 'ab/fetch-tags-noclobber'
[gitweb.git] / t / t3210-pack-refs.sh
index 7e95713f9e6390a0f87b2befab542a7779dda025..7333d7d5459179ab306d29fc04e7d088d75412af 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
 '