Test Case ID Number: ps015

Purpose of Test:

 ifpServerText - Utility

Test Setup:

The IFP server is running.

Test Procedure:

1) Run the ifpServerText program from the command line using the following command line and check for errors in the output. Verify that there are no errors:

ifpServerText -g -n SmartScript -f /tmp/ps015Test.txt -c Utility

Output from the program will be similar to:

13:19:05.072 IFPServerText.py 792 EVENT:  ifpServerText Starting
13:19:05.108 IFPServerText.py 792 EVENT:  Build Date: Wed Apr 23 07:43:30 2003 Built By: afps Built On: polaris.fsl.noaa.gov (linux2) Version: development
13:19:05.113 Client.C 161 EVENT: Establishing connection to server on polaris.fsl.noaa.gov:98000000 ver=20030321
13:19:05.116 Client.C 181 EVENT: Connection complete to server on polaris.fsl.noaa.gov
13:19:05.278 IFPServerText.py 329 EVENT:  Got  SmartScript --- written to /tmp/ps015Test.txt
13:19:05.285 IFPServerText.py 792 EVENT:  ifpServerText Finished
 
 

2) Run the ifpServerText program from the command line using the following command line and check for errors in the output.  Verify that there are no errors.

ifpServerText -s -n ps015Test -c Utility -f /tmp/ps015Test.txt

Output from the program will be similar to:

13:22:56.805 IFPServerText.py 792 EVENT:  ifpServerText Starting
13:22:56.812 IFPServerText.py 792 EVENT:  Build Date: Wed Apr 23 07:43:30 2003 Built By: afps Built On: polaris.fsl.noaa.gov (linux2) Version: development
13:22:56.818 Client.C 161 EVENT: Establishing connection to server on polaris.fsl.noaa.gov:98000000 ver=20030321
13:22:56.821 Client.C 181 EVENT: Connection complete to server on polaris.fsl.noaa.gov
13:22:57.161 IFPServerText.py 290 EVENT:  Saved file /tmp/ps015Test.txt under ps015Test
13:22:57.168 IFPServerText.py 792 EVENT:  ifpServerText Finished
 

3) Run the ifpServerText program from the command line using the following command line and check for errors in the output.  Verify that the entry ps015Test is listed in the inventory output:

ifpServerText -c Utility -i

Output from the program will be similiar to:

13:23:44.217 IFPServerText.py 792 EVENT:  ifpServerText Starting
13:23:44.224 IFPServerText.py 792 EVENT:  Build Date: Wed Apr 23 07:43:30 2003 Built By: afps Built On: polaris.fsl.noaa.gov (linux2) Version: development
13:23:44.229 Client.C 161 EVENT: Establishing connection to server on polaris.fsl.noaa.gov:98000000 ver=20030321
13:23:44.232 Client.C 181 EVENT: Connection complete to server on polaris.fsl.noaa.gov
Name                                     Access     Protect
----                                    ------     -------
ps015Test                                USER       Read-Write
test                                     USER       Read-Write
tt                                       USER       Read-Write
13:23:48.788 IFPServerText.py 792 EVENT:  ifpServerText Finished
 

4) Run the ifpServerText program from the command line using the following command line and check for errors in the output.   Verify that there are no errors.

ifpServerText -d -c Utility -n ps015Test

Output from the program will be simlar to:

13:25:30.385 IFPServerText.py 792 EVENT:  ifpServerText Starting
13:25:30.393 IFPServerText.py 792 EVENT:  Build Date: Wed Apr 23 07:43:30 2003 Built By: afps Built On: polaris.fsl.noaa.gov (linux2) Version: development
13:25:30.399 Client.C 161 EVENT: Establishing connection to server on polaris.fsl.noaa.gov:98000000 ver=20030321
13:25:30.402 Client.C 181 EVENT: Connection complete to server on polaris.fsl.noaa.gov
13:25:30.905 IFPServerText.py 315 EVENT:  Deleted  ps015Test
13:25:30.912 IFPServerText.py 792 EVENT:  ifpServerText Finished
 

5) Run the ifpServerText program from the command line using the following command line and check for errors in the output.   Verify that there are no errors.

ifpServerText -c Utility -i

Test Cleanup:

Remove the /tmp/ps015Test.txt file.