Commit Graph

22 Commits

Author SHA1 Message Date
John Eikenberry 98203f5a83 remove ssh-agent requirement for integration tests
Thanks @tv42 for this code. I took it from his PR; #92.
2017-08-23 14:46:20 -07:00
John Eikenberry 13ec2164f5 mispelling in test output 2017-08-23 14:20:45 -07:00
Dave Cheney f3fc26f1c3 General server cleanups (#103)
- no need to initalise mutexes, their zero value is valid
- make NewServer simpler, 90% of use cases already had an
  io.ReadWriteCloser, in the single case that it it is easy to provide a
  simple wrapper.
2016-05-29 16:32:05 +10:00
Matt Layher 8e47c759f5 server: remote rootDir parameter, as it does nothing 2016-01-16 12:41:01 -05:00
Matt Layher 403657b31e server: use functional options for NewServer 2016-01-11 11:52:51 -05:00
Matt Layher b348482b1a *: golint (part 1) 2016-01-07 12:10:24 -05:00
Dave Cheney fe1bd71a2f s/wercker/travis 2015-12-25 18:24:07 +01:00
Mark Sheahan e4daa2d013 added server integration test for recursive put and recursive get 2015-09-08 17:54:28 -07:00
Mark Sheahan d7309968cd add more tests; bug setting S_IFREG caused openssh sftp to refuse to get the file 2015-09-08 17:03:18 -07:00
Mark Sheahan bce43f23ac Address review comments; alter server test to allow the user / group words to be different 2015-09-07 22:50:46 -07:00
Mark Sheahan c69ab311ab all tests invoking external binaries considered integration tests to satisfy wercker 2015-09-07 02:28:33 -07:00
Mark Sheahan 20391fc5d1 skip server tests if the openssh sftp client binary is unavailable 2015-09-07 02:20:58 -07:00
Mark Sheahan d80ae36051 rmdir and symlink packet handling 2015-09-07 01:05:16 -07:00
Mark Sheahan 7bb2083ca9 Address review comments; about to change decodePacket() 2015-09-06 23:55:15 -07:00
Mark Sheahan 0aec5ce5ec use merge-to target branches, not ScriptRock ones 2015-09-06 21:54:42 -07:00
Mark Sheahan d9371ace46 skipping integration tests for server unless specified 2015-09-06 21:43:59 -07:00
Mark Sheahan c36e806e57 runLs output matching openssh for some stuff 2015-09-06 21:37:33 -07:00
Mark Sheahan 0d8e136458 removing sftp server to client layer; using straight os.* calls 2015-09-06 19:36:47 -07:00
Mark Sheahan 1502f6c9e6 compare golang sftp subsystem to openssh 2015-08-07 00:51:14 -07:00
Mark Sheahan f9e831be30 proper ssh closing sequence 2015-08-05 23:24:33 -07:00
Mark Sheahan 4325c3654b fix format of 'name' packets (shortname, longname, attrs), add Stat 2015-08-05 12:57:28 -07:00
Mark Sheahan 82ef5086ee server integration test scaffolding 2015-08-04 23:37:18 -07:00