Skip to content

Commit 329af6c

Browse files
pyokagangitster
authored andcommitted
t0302: "unreadable" test needs SANITY prereq
The test expects that "chmod -r ~/.git-credentials" would make it unreadable to the user, and thus needs the SANITY prerequisite. Reported-by: Jean-Yves LENHOF <[email protected]> Signed-off-by: Paul Tan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent efee598 commit 329af6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0302-credential-store.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ test_expect_success 'get: use xdg file if home file has no matches' '
7575
EOF
7676
'
7777

78-
test_expect_success POSIXPERM 'get: use xdg file if home file is unreadable' '
78+
test_expect_success POSIXPERM,SANITY 'get: use xdg file if home file is unreadable' '
7979
echo "https://home-user:[email protected]" >"$HOME/.git-credentials" &&
8080
chmod -r "$HOME/.git-credentials" &&
8181
mkdir -p "$HOME/.config/git" &&

0 commit comments

Comments
 (0)