Re: [PATCH 1/4] convert: Safer handling of $Id$ contraction.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/3/15 Henrik Grubbström (Grubba) <grubba@xxxxxxxxxx>:
> diff --git a/t/t0021-conversion.sh b/t/t0021-conversion.sh
> index 6cb8d60..a21a8d2 100755
> --- a/t/t0021-conversion.sh
> +++ b/t/t0021-conversion.sh
> @@ -65,17 +65,21 @@ test_expect_success expanded_in_repo '
>                echo "\$Id:NoSpaceAtFront \$"
>                echo "\$Id:NoSpaceAtEitherEnd\$"
>                echo "\$Id: NoTerminatingSymbol"
> +               echo "\$Id: Foreign Commit With Spaces $"

Missing \ for second $.

> +               echo "\$Id: NoTerminatingSymbolAtEOF"
>        } > expanded-keywords &&
>
>        {
>                echo "File with expanded keywords"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
>                echo "\$Id: NoTerminatingSymbol"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 $"

Ditto.

> +               echo "\$Id: NoTerminatingSymbolAtEOF"
>        } > expected-output &&
>
>        git add expanded-keywords &&
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]