diff options
author | Jeff King <peff@peff.net> | 2010-09-21 20:35:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-27 10:48:23 -0700 |
commit | afa0876050496d4250e8b27680e5cbc60fbda760 (patch) | |
tree | 6f787187a6574ef27a8048695498b4913dc8eb07 /t/t9131-git-svn-empty-symlink.sh | |
parent | CodingGuidelines: spell Arithmetic Expansion with $(($var)) (diff) | |
download | tgif-afa0876050496d4250e8b27680e5cbc60fbda760.tar.xz |
prefer test -h over test -L in shell scripts
Even though "-L" is POSIX, the former is more portable, and
we tend to prefer it already.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9131-git-svn-empty-symlink.sh')
-rwxr-xr-x | t/t9131-git-svn-empty-symlink.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9131-git-svn-empty-symlink.sh b/t/t9131-git-svn-empty-symlink.sh index 9a24a65b64..f762038f0e 100755 --- a/t/t9131-git-svn-empty-symlink.sh +++ b/t/t9131-git-svn-empty-symlink.sh @@ -88,7 +88,7 @@ test_expect_success 'enable broken symlink workaround' \ test_expect_success '"bar" is an empty file' 'test -f x/bar && ! test -s x/bar' test_expect_success 'get "bar" => symlink fix from svn' \ '(cd x && git svn rebase)' -test_expect_success SYMLINKS '"bar" becomes a symlink' 'test -L x/bar' +test_expect_success SYMLINKS '"bar" becomes a symlink' 'test -h x/bar' test_expect_success 'clone using git svn' 'git svn clone -r1 "$svnrepo" y' |