From 2e435b2b21dce07ecd0ee12e148fd8b00345d228 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sat, 21 Jul 2007 23:18:41 +0200 Subject: [PATCH] Skip tests involving symbolic links. --- t/t3700-add.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t3700-add.sh b/t/t3700-add.sh index b52fde8577..b216a3ae88 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -30,6 +30,7 @@ test_expect_success \ *) echo fail; git ls-files --stage xfoo1; (exit 1);; esac' +test "$no_symlinks" || { test_expect_success 'git add: filemode=0 should not get confused by symlink' ' rm -f xfoo1 && ln -s foo xfoo1 && @@ -39,6 +40,7 @@ test_expect_success 'git add: filemode=0 should not get confused by symlink' ' *) echo fail; git ls-files --stage xfoo1; (exit 1);; esac ' +} test_expect_success \ 'git update-index --add: Test that executable bit is not used...' \ @@ -51,6 +53,7 @@ test_expect_success \ *) echo fail; git ls-files --stage xfoo2; (exit 1);; esac' +test "$no_symlinks" || { test_expect_success 'git add: filemode=0 should not get confused by symlink' ' rm -f xfoo2 && ln -s foo xfoo2 && @@ -70,6 +73,7 @@ test_expect_success \ 120000" "*xfoo3) echo ok;; *) echo fail; git ls-files --stage xfoo3; (exit 1);; esac' +} test_expect_success '.gitignore test setup' ' echo "*.ig" >.gitignore &&