File: disable-daemon-tests.patch

package info (click to toggle)
rust-ntpd 1.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,884 kB
  • sloc: sh: 57; makefile: 28
file content (19 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: ntpd/src/daemon/keyexchange.rs
===================================================================
--- ntpd.orig/src/daemon/keyexchange.rs
+++ ntpd/src/daemon/keyexchange.rs
@@ -617,7 +617,7 @@ fn certificates_from_bufread(mut reader:
     ntp_proto::tls_utils::pemfile::certs(&mut reader).collect()
 }
 
-#[cfg(test)]
+/*#[cfg(test)]
 mod tests {
     use std::{io::Cursor, net::SocketAddr, path::PathBuf};
 
@@ -1349,4 +1349,4 @@ mod tests {
         let error = server_error_record(NtsRecord::INTERNAL_SERVER_ERROR).await;
         assert!(matches!(error, KEE::InternalServerError));
     }
-}
+}*/