TEST NAME

scp_6 - copy files from one machine to another on IPv6

SYNOPSIS

ksh scp_6.sh remote_machine

DESCRIPTION

These tests use the scp command to copy files from one machine to another. The tests terminate if any file becomes corrupted.

The RUNTIME environment variable specifies, in seconds, the duration of the test.

OPERANDS

remote_machine
Either the host name or IPv6 address of the machine to which files and directories are copied. If the host name is specified, it must appear in /etc/inet/ipnodes along with the remote machine's IPv6 address.

USAGE VARIABLES

RUNTIME
This environment variable specifies, in seconds, the duration of the test.

SETUP

You need two machines connected by a network, either back-to-back, or through a hub or switch.

Ensure that sufficient disk space is available on the remote machine for copying.

OUTPUT

At the start of each iteration, the current time is output.

DURATION

24 hours

POSSIBLE CONCURRENT TESTS

You can run this test concurrently with lsalr_6, mpflip, cl3se3_6, ftpstress_6, and spray_6.

NOTES

The scp test copies /kernel/unix on the local machine to /tmp on the remote machine.

EXAMPLES

# RUNTIME=30
# export RUNTIME
# ./scp_6.sh dellboy240 
      Runtime: 30 seconds
      Changing local directory to /tmp
      Thursday March  2 13:52:21 GMT 2000
      Thursday March  2 13:52:29 GMT 2000
      Thursday March  2 13:52:37 GMT 2000
      Thursday March  2 13:52:46 GMT 2000
      !PASS: Completed 5 copies successfully on IPv6

REFERENCES

scp(1), ssh(1), hosts(4)

Copyright 2005 Sun Microsystems, Inc. All rights reserved.