comparison tests/systemd.rs @ 7:9731ff589d9c

Fix tests on non-linux systems We need to check that systemd tests fail on non-linux systems instead.
author Martin Habovstiak <martin.habovstiak@gmail.com>
date Fri, 27 Nov 2020 16:29:09 +0100
parents ef8bf41097ac
children f740dadd2948
comparison
equal deleted inserted replaced
6:a7893294e9b2 7:9731ff589d9c
21 .spawn() 21 .spawn()
22 } 22 }
23 } 23 }
24 24
25 #[test] 25 #[test]
26 #[cfg_attr(not(linux), should_panic)]
26 fn main() { 27 fn main() {
27 comm::main::<Test>(); 28 comm::main::<Test>();
28 } 29 }