ref-filter: rename the 'strip' option to 'lstrip'
[gitweb.git] / t / t4139-apply-escape.sh
index 02b97b3c3064cad341f9972184006084887d2607..45b5660a47d88f736aa777641084d13b45852969 100755 (executable)
@@ -98,7 +98,7 @@ test_expect_success 'cannot delete file containing .. (index)' '
        test_path_is_file ../foo
 '
 
-test_expect_failure SYMLINKS 'symlink escape via ..' '
+test_expect_success SYMLINKS 'symlink escape via ..' '
        {
                mkpatch_symlink tmp .. &&
                mkpatch_add tmp/foo ../foo
@@ -108,7 +108,7 @@ test_expect_failure SYMLINKS 'symlink escape via ..' '
        test_path_is_missing ../foo
 '
 
-test_expect_failure SYMLINKS 'symlink escape via .. (index)' '
+test_expect_success SYMLINKS 'symlink escape via .. (index)' '
        {
                mkpatch_symlink tmp .. &&
                mkpatch_add tmp/foo ../foo
@@ -118,7 +118,7 @@ test_expect_failure SYMLINKS 'symlink escape via .. (index)' '
        test_path_is_missing ../foo
 '
 
-test_expect_failure SYMLINKS 'symlink escape via absolute path' '
+test_expect_success SYMLINKS 'symlink escape via absolute path' '
        {
                mkpatch_symlink tmp "$(pwd)" &&
                mkpatch_add tmp/foo ../foo
@@ -128,7 +128,7 @@ test_expect_failure SYMLINKS 'symlink escape via absolute path' '
        test_path_is_missing ../foo
 '
 
-test_expect_failure SYMLINKS 'symlink escape via absolute path (index)' '
+test_expect_success SYMLINKS 'symlink escape via absolute path (index)' '
        {
                mkpatch_symlink tmp "$(pwd)" &&
                mkpatch_add tmp/foo ../foo