1 #! /usr/perl5/bin/perl
   2 #
   3 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   4 # Use is subject to license terms.
   5 #
   6 
   7 #
   8 # BSD 3 Clause License
   9 #
  10 # Redistribution and use in source and binary forms, with or without
  11 # modification, are permitted provided that the following conditions
  12 # are met:
  13 #       - Redistributions of source code must retain the above copyright
  14 #         notice, this list of conditions and the following disclaimer.
  15 #
  16 #       - Redistributions in binary form must reproduce the above copyright
  17 #         notice, this list of conditions and the following disclaimer in
  18 #         the documentation and/or other materials provided with the
  19 #         distribution.
  20 #
  21 #       - Neither the name of Sun Microsystems, Inc. nor the
  22 #         names of its contributors may be used to endorse or promote products
  23 #         derived from this software without specific prior written permission.
  24 #
  25 # THIS SOFTWARE IS PROVIDED BY SUN MICROSYSTEMS, INC. "AS IS" AND ANY
  26 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  27 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  28 # DISCLAIMED. IN NO EVENT SHALL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY
  29 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  30 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES
  31 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  32 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  34 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35 #
  36 
  37 #
  38 # This is MOVER interface test case file. This file invokes the different 
  39 # NDMP MOVER interface tests.
  40 #
  41 #
  42 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  43 #
  44 
  45 use strict;
  46 use warnings;
  47 
  48 our @iclist=("ic1","ic2","ic3","ic4","ic5","ic6","ic7","ic8","ic9","ic10","ic11","ic12","ic13","ic14","ic15","ic16","ic17",
  49                 "ic18","ic19","ic20","ic21","ic22","ic23","ic24","ic25","ic26","ic27","ic28","ic29","ic30","ic31","ic32",
  50                 "ic33","ic34","ic35","ic36","ic37","ic38","ic39","ic40","ic41");
  51 
  52 our @ic1        =("mover_abort_ise");
  53 our @ic2        =("mover_abort_nae");
  54 our @ic3        =("mover_abort_nne");
  55 our @ic4        =("mover_close_nne");
  56 our @ic5        =("mover_close_nae");
  57 our @ic6        =("mover_close_ise");
  58 our @ic7        =("mover_connect_ce");
  59 our @ic8        =("mover_connect_dnoe");
  60 our @ic9        =("mover_connect_ise");
  61 our @ic10       =("mover_connect_nae");
  62 our @ic11       =("mover_connect_nne");
  63 our @ic12       =("mover_connect_pe");
  64 our @ic13       =("mover_continue_nne");
  65 our @ic14       =("mover_continue_ise");
  66 our @ic15       =("mover_continue_nae");
  67 our @ic16       =("mover_continue_pe");
  68 our @ic17       =("mover_get_state_nae");
  69 our @ic18       =("mover_get_state_nne");
  70 our @ic19       =("mover_listen_dnoe");
  71 our @ic20       =("mover_listen_iae");
  72 our @ic21       =("mover_listen_ise");
  73 our @ic22       =("mover_listen_nae");
  74 our @ic23       =("mover_listen_nne");
  75 our @ic24       =("mover_listen_pe");
  76 our @ic25       =("mover_read_iae");
  77 our @ic26       =("mover_read_ise");
  78 our @ic27       =("mover_read_nae");
  79 our @ic28       =("mover_read_nne");
  80 our @ic29       =("mover_read_rip");
  81 our @ic30       =("mover_set_record_size_iae");
  82 our @ic31       =("mover_set_record_size_ise");
  83 our @ic32       =("mover_set_record_size_nae");
  84 our @ic33       =("mover_set_record_size_nne");
  85 our @ic34       =("mover_set_window_size_iae");
  86 our @ic35       =("mover_set_window_size_ise");
  87 our @ic36       =("mover_set_window_size_nae");
  88 our @ic37       =("mover_set_window_size_nne");
  89 our @ic38       =("mover_set_window_size_pce");
  90 our @ic39       =("mover_stop_ise");
  91 our @ic40       =("mover_stop_nae");
  92 our @ic41       =("mover_stop_nne");
  93 
  94 
  95 
  96 sub startup() {
  97         &tet'infoline("This is the startup");
  98 }
  99 
 100 sub cleanup() {
 101         &tet'infoline("This is the cleanup");
 102 }
 103 
 104 require "tp_MOVER";
 105 
 106 require "$ENV{\"CTI_SUITE\"}/lib/ndmp_execute";
 107 require "$ENV{\"CTI_ROOT\"}/lib/ctiutils.pl";
 108 require "$ENV{\"CTI_ROOT\"}/lib/ctilib.pl";
 109 1;