]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0301-credential-cache.sh
The eighth batch
[thirdparty/git.git] / t / t0301-credential-cache.sh
index 8300faadea9a76f19e3d2c82f5ff600f38bfe18f..c10e35905e0ea01b832ecd699b9079f683be674e 100755 (executable)
@@ -8,6 +8,14 @@ test -z "$NO_UNIX_SOCKETS" || {
        skip_all='skipping credential-cache tests, unix sockets not available'
        test_done
 }
+if test_have_prereq MINGW
+then
+       service_running=$(sc query afunix | grep "4  RUNNING")
+       test -z "$service_running" || {
+               skip_all='skipping credential-cache tests, unix sockets not available'
+               test_done
+       }
+fi
 
 uname_s=$(uname -s)
 case $uname_s in
@@ -31,6 +39,7 @@ test_atexit 'git credential-cache exit'
 helper_test cache
 helper_test_password_expiry_utc cache
 helper_test_oauth_refresh_token cache
+helper_test_authtype cache
 
 test_expect_success 'socket defaults to ~/.cache/git/credential/socket' '
        test_when_finished "