1 #!/usr/bin/ksh
2
3 #
4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
7 # 1.0 of the CDDL.
8 #
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
12 #
13
14 #
15 # Define necessary environments and config variables here
16 # prior to invoke TET test runner 'run_test'
17 #
18 export TET_ROOT=/opt/SUNWstc-tetlite
19 export CTI_ROOT=$TET_ROOT/contrib/ctitools
20 export TET_SUITE_ROOT=/opt
21 PATH=$PATH:$CTI_ROOT/bin
22 export PATH
23 export SCRATCH_DIR=/var/tmp
24
25 PATH=$PATH:$CTI_ROOT/bin
26 export PATH
27 #
28 # To run entire suite
29 #
30 run_test -U /var/tmp/test_results/ndmp-tests ndmp-tests $1
31
32 #
33 # To run component
34 #
35 #run_test ndmp-tests compression_dynamic
36
37 #
38 # To run individual testcase
39 #
40 #run_test ndmp-tests compression_dynamic:10