git-svn: support for git-svn propset
[gitweb.git] / t / t4030-diff-textconv.sh
index 0ebb028cccde070d0133c282068810673e98c2b4..aad6c7f78db34703b2f9b1ed72239cd3b4005016 100755 (executable)
@@ -163,12 +163,10 @@ index 0000000..67be421
 +frotz
 \ No newline at end of file
 EOF
-# make a symlink the hard way that works on symlink-challenged file systems
+
 test_expect_success 'textconv does not act on symlinks' '
-       printf frotz > file &&
-       git add file &&
-       git ls-files -s | sed -e s/100644/120000/ |
-               git update-index --index-info &&
+       rm -f file &&
+       test_ln_s_add frotz file &&
        git commit -m typechange &&
        git show >diff &&
        find_diff <diff >actual &&