mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Skip tests involving symbolic links.
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user