Skip to content

Commit 04c0f57

Browse files
committed
Disable test on s390x
Signed-off-by: Gris Ge <[email protected]>
1 parent 5102494 commit 04c0f57

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ctrl/nlas/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>>
166166
}
167167
}
168168

169+
#[cfg(target_endian = "little")]
169170
#[cfg(test)]
170171
mod tests {
171172
use super::*;

tests/query_family_id.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use netlink_packet_generic::{
77
};
88
use netlink_sys::{protocols::NETLINK_GENERIC, Socket, SocketAddr};
99

10+
#[cfg(not(target_arch = "s390x"))]
1011
#[test]
1112
fn query_family_id() {
1213
let mut socket = Socket::new(NETLINK_GENERIC).unwrap();

0 commit comments

Comments
 (0)