From 041da029eedbca30c195bc9cd8c1acf89b4f60c0 Mon Sep 17 00:00:00 2001
From: Vincent Prouillet <github@vincentprouillet.com>
Date: Mon, 24 Jun 2024 22:43:14 +0200
Subject: [PATCH] Disable all serve tests for Windows for now

---
 src/cmd/serve.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs
index f6b01ca2ef..01cc0bdc51 100644
--- a/src/cmd/serve.rs
+++ b/src/cmd/serve.rs
@@ -921,6 +921,7 @@ mod tests {
     }
 
     #[test]
+    #[cfg(not(windows))]
     fn test_create_new_site_without_protocol_with_port_without_mounted_path() {
         let interface = IpAddr::from_str("127.0.0.1").unwrap();
         let interface_port = 1111;
@@ -942,6 +943,7 @@ mod tests {
     }
 
     #[test]
+    #[cfg(not(windows))]
     fn test_create_new_site_without_protocol_with_port_with_mounted_path() {
         let interface = IpAddr::from_str("127.0.0.1").unwrap();
         let interface_port = 1111;
@@ -963,6 +965,7 @@ mod tests {
     }
 
     #[test]
+    #[cfg(not(windows))]
     fn test_create_new_site_without_protocol_without_port_without_mounted_path() {
         let interface = IpAddr::from_str("127.0.0.1").unwrap();
         let interface_port = 1111;
@@ -986,6 +989,7 @@ mod tests {
     }
 
     #[test]
+    #[cfg(not(windows))]
     fn test_create_new_site_with_protocol_without_port_without_mounted_path() {
         let interface = IpAddr::from_str("127.0.0.1").unwrap();
         let interface_port = 1111;