diff --git a/tests/data/test1056 b/tests/data/test1056
index afcdf137ee..9cbc4785fd 100644
--- a/tests/data/test1056
+++ b/tests/data/test1056
@@ -49,6 +49,8 @@ body
# to skip those.
IPv6
+# Test is not supported on the Windows kernel
+!cygwin
!win32
@@ -61,9 +63,6 @@ HTTP follow redirect from IPv4 to IPv6 with scope
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
-
-%PERL -e "print 'Test is not supported on the Windows kernel' if($^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin');"
-
#