diff options
author | Wez Furlong <wez@wezfurlong.org> | 2019-08-01 23:47:51 -0700 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2019-08-02 10:12:40 -0700 |
commit | 5bb46f5ea30c4c679c59685f6d901dbeb6df9fbd (patch) | |
tree | 0675eaffacf098a0d25219cb100c7f138a853cfb /tests | |
parent | 6818980c86d015b26c875117f03a61eadf431caa (diff) | |
download | ssh2-rs-5bb46f5ea30c4c679c59685f6d901dbeb6df9fbd.zip |
work around broken travis macos configuration
Diffstat (limited to 'tests')
-rw-r--r-- | tests/all/channel.rs | 6 |
1 files changed, 5 insertions, 1 deletions
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] |