From 0c000a17134d2205c6999314289506d4fc1f508d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 27 Feb 2023 15:33:01 -0500 Subject: [PATCH] Mark new tests as onion-service-only --- crates/tor-cell/tests/testvec_relaymsg.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/tor-cell/tests/testvec_relaymsg.rs b/crates/tor-cell/tests/testvec_relaymsg.rs index 6fe3c3af7..d6dfe8c43 100644 --- a/crates/tor-cell/tests/testvec_relaymsg.rs +++ b/crates/tor-cell/tests/testvec_relaymsg.rs @@ -764,6 +764,7 @@ fn test_introduce() { // - unrecognized // - data +#[cfg(feature = "hs")] #[test] fn test_rendezvous() { use tor_cell::relaycell::hs::{Rendezvous1, Rendezvous2}; @@ -786,6 +787,7 @@ fn test_rendezvous() { msg(cmd2, "123456", &rend2.into()); } +#[cfg(feature = "hs")] #[test] fn test_introduce_ack() { use tor_cell::relaycell::hs::{IntroduceAck, IntroduceAckStatus}; @@ -796,6 +798,7 @@ fn test_introduce_ack() { msg(cmd, "0000 00", &introduce_ack.into()) } +#[cfg(feature = "hs")] #[test] fn test_intro_established() { use tor_cell::relaycell::hs::IntroEstablished;