Net::SCP::Expect .08 in the works

djberg96 on 2003-04-07T16:39:09

I got quite a bit done this weekend on the next release of Net::SCP::Expect. In addition to the standard tests, I've set up a separate, interactive test script.

The interactive script will do the following:

  • Ask you for a host, login and password and protocol preference (ssh or telnet).
  • Attempt to scp some test files to that host.
  • Connect to the host via Net::Telnet or Net::SSH::Perl (depending on the protocol you specified), and verify the MD5 checksum.
  • scp the file from the remote machine back to your local box and check the MD5 checksum again.
  • Delete all the test files, both locally and remotely, at the end of the test.
The only thing left to test is scp'ing Very Large Files and file globbing.

I'm debating whether or not to include this interactive script as a standard test, but I'm not sure if that's considered poor form in terms of CPAN shell interaction.