From 5bb46f5ea30c4c679c59685f6d901dbeb6df9fbd Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 1 Aug 2019 23:47:51 -0700 Subject: work around broken travis macos configuration --- tests/all/channel.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/all/channel.rs b/tests/all/channel.rs index 9d4ec82..660c72d 100644 --- a/tests/all/channel.rs +++ b/tests/all/channel.rs @@ -73,7 +73,11 @@ fn handle_extended_data() { .unwrap(); channel.exec("echo foo >&2").unwrap(); let (output, _) = consume_stdio(&mut channel); - assert_eq!(output, "foo\n"); + // This is an ends_with test because stderr may have several + // lines of misc output on travis macos hosts; it appears as + // though the local shell configuration on travis macos is + // broken and contributes to this :-/ + assert!(output.ends_with("foo\n")); } #[test] -- cgit v1.2.3