common/tools/ats/ats3_testdrop.pl
changeset 105 3aef06ac7a6a
parent 99 2c7b53b5228f
child 113 7f0174848f99
equal deleted inserted replaced
104:01387db0fc8c 105:3aef06ac7a6a
     1 #!/usr/bin/perl
     1 #!/usr/bin/perl
     2 
     2 
     3 #curl "http://sym-build01:8080/ats3/XTestRunExecute.do?username=admin&password=admin&testrunpath=D:\smoketests\test_drops\9.zip
       
     4 use strict;
     3 use strict;
     5 use Getopt::Long;
     4 use Getopt::Long;
     6 use File::Copy;
     5 use File::Copy;
     7 use File::Spec;
     6 use File::Spec;
     8 
     7 
   107                 "[--username=ATS3USERNAME] [--password=ATS3PASSWORD] [--schedule=DD.MM.YYYY-HH:MM]\n" .
   106                 "[--username=ATS3USERNAME] [--password=ATS3PASSWORD] [--schedule=DD.MM.YYYY-HH:MM]\n" .
   108             "options:\n" .
   107             "options:\n" .
   109             "  --help                        Display this help and exit\n" .
   108             "  --help                        Display this help and exit\n" .
   110             "  --host=HOSTAME                HOSTNAME is ATS3 server\n" .
   109             "  --host=HOSTAME                HOSTNAME is ATS3 server\n" .
   111             "  --local-test-pkg=PKGFILE      PKGFILE is the test package.\n" .
   110             "  --local-test-pkg=PKGFILE      PKGFILE is the test package.\n" .
   112             "                                If PKGFILE begins "..." a filename in LOCALPATH is assumed\n" .
   111             "                                If PKGFILE begins \"...\" a filename in LOCALPATH is assumed\n" .
   113             "  --local-drop-path=LOCALPATH   Path to local directory where PKGFILE will be dropped\n" .            
   112             "  --local-drop-path=LOCALPATH   Path to local directory where PKGFILE will be dropped\n" .            
   114             "  --host-drop-path=HOSTPATH     Host directory that is mapped to LOCALPATH.\n" .
   113             "  --host-drop-path=HOSTPATH     Host directory that is mapped to LOCALPATH.\n" .
   115             "                                Must agree with the properties of the registered device that the test package nominates\n" .
   114             "                                Must agree with the properties of the registered device that the test package nominates\n" .
   116             "  --username=ATS3USERNAME       ATS3 user to whome the test will belong. Default=admin\n" .
   115             "  --username=ATS3USERNAME       ATS3 user to whome the test will belong. Default=admin\n" .
   117             "  --password=ATS3PASSWORD       Password of ATS3 user. Default=admin\n" .
   116             "  --password=ATS3PASSWORD       Password of ATS3 user. Default=admin\n" .