Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Monday April 07, 2003
11:39 AM

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

[ #11495 ]
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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.