diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2011-05-21 23:25:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-26 16:47:15 -0700 |
commit | dd555d8bed255c7949620e6551ea5afd2213bae0 (patch) | |
tree | d1eeeee66bc0d116d4f6db9739dc5f0252b8f250 /t/t4042-diff-textconv-caching.sh | |
parent | streaming: filter cascading (diff) | |
download | tgif-dd555d8bed255c7949620e6551ea5afd2213bae0.tar.xz |
t0021-conversion.sh: fix NoTerminatingSymbolAtEOF test
The last line of the test file "expanded-keywords" ended in a newline,
which is a valid terminator for ident. Use printf instead of echo to omit
it and thus really test if a file that ends unexpectedly in the middle of
an ident tag is handled properly.
Also take the oppertunity to calculate the expected ID dynamically
instead of hardcoding it into the test script. This should make future
changes easier.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4042-diff-textconv-caching.sh')
0 files changed, 0 insertions, 0 deletions