File: s390-ipv6.patch

package info (click to toggle)
rust-netlink-packet-route 0.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,848 kB
  • sloc: python: 302; sh: 73; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 871 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
20
Index: netlink-packet-route/src/address/tests/ipv6.rs
===================================================================
--- netlink-packet-route.orig/src/address/tests/ipv6.rs
+++ netlink-packet-route/src/address/tests/ipv6.rs
@@ -13,6 +13,7 @@ use crate::AddressFamily;
 // TODO(Gris Ge): Need test for `AddressAttribute::Anycast` and `Multicast`.
 
 #[test]
+#[cfg_attr(target_arch = "s390x", ignore = "debci runner does not have ipv6")]
 fn test_addr_flag_stable_privacy() {
     let nla = AddressAttribute::Flags(
         AddressFlags::Permanent | AddressFlags::StablePrivacy,
@@ -36,6 +37,7 @@ fn test_addr_flag_stable_privacy() {
 }
 
 #[test]
+#[cfg_attr(target_arch = "s390x", ignore = "debci runner does not have ipv6")]
 fn test_get_loopback_ipv6_addr() {
     let raw = vec![
         0x0a, 0x80, 0x80, 0xfe, 0x01, 0x00, 0x00, 0x00, 0x14, 0x00, 0x01, 0x00,