Updated Branches: refs/heads/master dc2eae49f -> d78cbf0fa
[SSHD-257] Ignore test on Windows as file attributes aren't supported correctly Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/bd33a761 Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/bd33a761 Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/bd33a761 Branch: refs/heads/master Commit: bd33a7617f50e1adc4c019b6e106c7b1d7fdfd6a Parents: dc2eae4 Author: Guillaume Nodet <[email protected]> Authored: Mon Dec 2 14:34:16 2013 +0100 Committer: Guillaume Nodet <[email protected]> Committed: Mon Dec 2 14:34:16 2013 +0100 ---------------------------------------------------------------------- sshd-core/src/test/java/org/apache/sshd/ScpTest.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/bd33a761/sshd-core/src/test/java/org/apache/sshd/ScpTest.java ---------------------------------------------------------------------- diff --git a/sshd-core/src/test/java/org/apache/sshd/ScpTest.java b/sshd-core/src/test/java/org/apache/sshd/ScpTest.java index 19572b6..e23c03d 100644 --- a/sshd-core/src/test/java/org/apache/sshd/ScpTest.java +++ b/sshd-core/src/test/java/org/apache/sshd/ScpTest.java @@ -333,6 +333,11 @@ public class ScpTest { @Test public void testScpNativePreserveAttributes() throws Exception { + // Ignore this test if running a Windows system + if (System.getProperty("os.name").toLowerCase().contains("win")) { + return; + } + SshClient client = SshClient.setUpDefaultClient(); client.start(); ClientSession session = client.connect("localhost", port).await().getSession();
