summaryrefslogtreecommitdiff
path: root/t/t9101-git-svn-props.sh
diff options
context:
space:
mode:
authorLibravatar Paul Tan <pyokagan@gmail.com>2015-05-18 21:32:51 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-18 10:33:01 -0700
commitc998b381477953361c8bf180871ecd6b57ff94ea (patch)
tree8640cd2c8f2490d910bd79a71c507ef2ebe470aa /t/t9101-git-svn-props.sh
parentmerge: deprecate 'git merge <message> HEAD <commit>' syntax (diff)
downloadtgif-c998b381477953361c8bf180871ecd6b57ff94ea.tar.xz
t5520: prevent field splitting in content comparisons
Many tests in t5520 used the following to test the contents of files: test `cat file` = expected or test $(cat file) = expected These 2 forms, however, will be affected by field splitting and, depending on the value of $IFS, may be split into multiple arguments, making the test fail in mysterious ways. Replace the above 2 forms with: test "$(cat file)" = expected as quoting the command substitution will prevent field splitting. Signed-off-by: Paul Tan <pyokagan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9101-git-svn-props.sh')
0 files changed, 0 insertions, 0 deletions