jkeenan1 has asked for the wisdom of the Perl Monks concerning the following question:
When the files are on my own box or on a server to which I have full privileges, there's no problem doing this.
But now I need to test whether code I write on one server properly creates directories and files on other servers which I can normally access only via SSHing to them. Moreover, once having SSHed to those servers, I often have to sudo to a special user to, for example, delete test files once my code has created them.
Right now I'm doing a lot of this manually, but it would be far more efficient and precise if I could automate the process within a test script.
I'm sure TMTOWTDI applies here. What are the ways other Monks have approached this problem? TIA.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing the creation of new files over SSH connection
by Zaxo (Archbishop) on Jun 19, 2006 at 02:28 UTC | |
by idsfa (Vicar) on Jun 19, 2006 at 02:55 UTC | |
|
Re: Testing the creation of new files over SSH connection
by Plankton (Vicar) on Jun 20, 2006 at 02:25 UTC | |
by jkeenan1 (Deacon) on Jun 20, 2006 at 02:39 UTC |