Merge branch 'pt/t0302-needs-sanity' into maint

* pt/t0302-needs-sanity:
  t0302: "unreadable" test needs SANITY prereq
This commit is contained in:
Junio C Hamano 2015-07-15 11:41:21 -07:00
commit e9da4e6ff2

View File

@ -75,7 +75,7 @@ test_expect_success 'get: use xdg file if home file has no matches' '
EOF EOF
' '
test_expect_success POSIXPERM 'get: use xdg file if home file is unreadable' ' test_expect_success POSIXPERM,SANITY 'get: use xdg file if home file is unreadable' '
echo "https://home-user:home-pass@example.com" >"$HOME/.git-credentials" && echo "https://home-user:home-pass@example.com" >"$HOME/.git-credentials" &&
chmod -r "$HOME/.git-credentials" && chmod -r "$HOME/.git-credentials" &&
mkdir -p "$HOME/.config/git" && mkdir -p "$HOME/.config/git" &&