Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-mv/blob/main/rust/crates/interplane-conformance/tests/default_build.rs # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / rust / crates / interplane-conformance / tests / default_build.rs` 21 lines ยท 853 bytes Raw Blame History 1 //! The default build must not contain the negative controls (bench/PROTOCOL-0.3.md section 6). 2 #![cfg(not(feature = "negative-controls"))] 3 use std::process::Command; 4 5 #[test] 6 fn default_build_refuses_a_variant() { 7 let fixtures = concat!(env!("CARGO_MANIFEST_DIR"), "/../../../conformance/fixtures"); 8 let out = Command::new(env!("CARGO_BIN_EXE_interplane-conformance")) 9 .args([fixtures, "--out", "/dev/null", "--variant", "V4"]) 10 .output() 11 .unwrap(); 12 assert_eq!(out.status.code(), Some(2)); 13 assert!(String::from_utf8_lossy(&out.stderr).contains("negative-controls")); 14 } 15 16 #[test] 17 fn default_binary_carries_no_variant_code() { 18 let bytes = std::fs::read(env!("CARGO_BIN_EXE_interplane-conformance")).unwrap(); 19 let marker = b"NEGCTL_BUILT_IN"; 20 assert!(!bytes.windows(marker.len()).any(|w| w == marker)); 21 }