Skip tests involving symbolic links.

This commit is contained in:
Johannes Sixt
2007-07-21 23:18:41 +02:00
parent 4613eb6cfd
commit 2e435b2b21

View File

@@ -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 &&