summaryrefslogtreecommitdiff
path: root/tests/checkout
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-03 20:01:24 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-02-03 20:01:24 -0500
commit07c989e98d013132168326eb7fd6fdf91a2399b9 (patch)
tree84505d41da2d3fa48e1db9b20b9e33a7c7af6e0c /tests/checkout
parent5f28ec84a10b283f79f027f83ba03d7774a987f7 (diff)
downloadlibgit2-07c989e98d013132168326eb7fd6fdf91a2399b9.tar.gz
win32: further cleanups for 8.3 disabling
Diffstat (limited to 'tests/checkout')
-rw-r--r--tests/checkout/nasty.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/checkout/nasty.c b/tests/checkout/nasty.c
index 08e7628f5..952a6a112 100644
--- a/tests/checkout/nasty.c
+++ b/tests/checkout/nasty.c
@@ -217,12 +217,9 @@ void test_checkout_nasty__git_tilde1(void)
void test_checkout_nasty__git_custom_shortname(void)
{
#ifdef GIT_WIN32
- char *shortname = git_win32_path_8dot3_name("C:\\Program Files");
- if (shortname == NULL)
+ if (!cl_sandbox_supports_8dot3())
clar__skip();
- git__free(shortname);
-
cl_must_pass(p_rename("nasty/.git", "nasty/_temp"));
cl_git_write2file("nasty/git~1", "", 0, O_RDWR|O_CREAT, 0666);
cl_must_pass(p_rename("nasty/_temp", "nasty/.git"));