1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # See the License for the specific language governing permissions
10 # and limitations under the License.
11 #
12 # When distributing Covered Code, include this CDDL HEADER in each
13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 # If applicable, add the following below this CDDL HEADER, with the
15 # fields enclosed by brackets "[]" replaced with your own identifying
16 # information: Portions Copyright [yyyy] [name of copyright owner]
17 #
18 # CDDL HEADER END
19 #
20
21 #
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # nfsv4-test/tests/other_tests/uidmapping/README
26 #
27
28 This directory consists of uidmapping tests.
29
30 To run all assertions, just follow nfsv4-test suite convention and use the
31 following command:
32
33 ./runtests
34
35 To run specific assertions, use the following command:
36
37 TESTLIST=<test_file> ASSERTIONS="<assertion_name> ..." ./runtests
38
39 For example, to run uidmapping_pos03{a}, uidmapping_pos03{b}, and
40 uidmapping_pos03{c}, use the following command:
41
42 TESTLIST=uidmapping_pos03 ASSERTIONS="a b c" ./runtests
43
44 The above feature(running specific assertions) is provided mainly for debugging
45 purpose, so we implement it in a simple way, and don't check user input for
46 wrong test file name or wrong assertion names.
47
48 Please note that, in nfsh scripts(that is, uidmapping_neg01, uidmapping_neg02,
49 uidmapping_pos01), assertion is not implemented as a function. It needs
50 a bit more work to support running specific assertion in these scripts than
51 it is worth. So we decided not to implement that until necessary.