| /test/ohacts/src/ |
| README | 29 This directory tree contains the open-source version of the Open HA Cluster 31 Open HA Cluster Automated Test Suite User's Guide, 61 3. Open the new ohacts/src/defines.mk file for editing. 86 "Open HA Cluster Automated Test Suite User's Guide".
|
| /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/basic_ops/open/ |
| open_neg02.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 31 source OPEN.env 52 # a: Open(NOCREATE) with 'name' not exist, expect NOENT 54 set ASSERTION "Open(NOCREATE) with 'name' not exist, expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(NOCREATE) w/'name' not in namespace (Solaris only), expect NOENT 64 set ASSERTION "Open(NOCREATE) w/name(/usr) not in namespace, expect $expcode" 67 set res [compound {Putrootfh; Open $seqid 3 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg03.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(NOCREATE) '.', expect INVAL|NOENT 54 set ASSERTION "Open (NOCREATE) of '.', expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(CREATE/UNCHECKED) '.', expect INVAL|OK 64 set ASSERTION "Open (CREATE/UNCHECKED) of '.', expect $expcode" 67 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg09.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 53 # a: Open(reclaim) with <cfh> is from just opened file, expect NO_GRACE 55 set ASSERTION "Open(reclaim) w/<cfh> is from just opened file, expect $expcode" 63 set res [compound {Putfh $fh1; Open $oseqid 3 0 "$cid $oowner-002" \ 65 ckres "Open" $status $expcode $res $PASS 69 # e: Open(reclaim) with <cfh> is a dir, expect ISDIR|NO_GRACE 71 set ASSERTION "Open(reclaim) w/<cfh> is dir, expect $expcode" 74 set res [compound {Putfh $bfh; Open $oseqid 3 0 "$cid $oowner-010" \ 77 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg01.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(NOCREATE) access=R, a file w/mode=000, expect ACCESS 54 set ASSERTION "Open(NOCREATE) access=R, a file w/mode=000, expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 1 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(NOCREATE) access=W, a file w/mode=444, expect ACCESS 64 set ASSERTION "Open(NOCREATE) access=W, a file w/mode=444, expect $expcode" 67 set res [compound {Putfh $bfh; Open $seqid 2 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg04.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 52 # a: Open(CREATE) with user has no more quota, expect DQUOT 54 set ASSERTION "Open(CREATE) with user has no more quota, expect $expcode" 67 # Under cipso in Trusted Extension, we do "Open" operation 77 Open $seqid 3 0 "$cid $owner-a" \ 80 ckres "Open" $status $expcode $res $PASS 84 # c: Open(CREATE/UNCHECKED) w/FS has no more inode, expect NOSPC 86 set ASSERTION "Open(CREATE/UNCHECKED) w/FS has no more inode, expect $expcode" 95 Open $seqid 3 0 "$cid $owner-c" [all...] |
| open_neg07.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 58 # a: Open(non-CREATE) with lease time expired, expect EXPIRED|STALE_CLIENTID 60 set ASSERTION "Open(non-CREATE) w/lease time expired, expect $expcode" 63 set res [compound {Putfh $bfh; Open $oseqid 1 0 "$cid $oowner-a" \ 65 ckres "Open" $status $expcode $res $PASS 68 # b: Open(CREATE) with lease time expired, expect EXPIRED|STALE_CLIENTID 70 set ASSERTION "Open(CREATE) w/lease time expired, expect $expcode" 74 set res [compound {Putfh $bfh; Open $oseqid 3 0 "$cid $oowner-b" \ 76 if { [ckres "Open" $status $expcode $res $FAIL] == "true" } [all...] |
| open_neg08.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(create/UNCHECK) w/readonly attr , expect INVAL 54 set ASSERTION "Open(create/UNCHECK) w/readonly attribute , expect $expcode" 59 Open $oseqid 3 0 "$cid ${owner}-a" \ 61 ckres "Open" $status $expcode $res $PASS 64 # b: Open(create/GUARDED) w/readonly attr , expect INVAL 66 set ASSERTION "Open(create/GUARDED) w/readonly attribute , expect $expcode" 71 Open $oseqid 3 0 "$cid ${owner}-b" \ 73 ckres "Open" $status $expcode $res $PAS [all...] |
| open_pos01.tcl | 28 # NFSv4 OPEN operation test - positive tests 29 # Basic fucntion of OPEN op 32 source OPEN.env 52 # a: Open an existing RW file (access=3,deny=0,createmode=0), expect OK 55 "Open existing RW file (access=3,deny=0,create=0), expect $expcode" 61 Open $seqid 3 0 "$cid $owner-00111" {0 0 {{mode 0644}}} {0 $TFILE}; 63 set cont [ckres "Open" $status $expcode $res $FAIL] 65 # verify the FH of OPEN is same as LOOKUP 74 # a1: Replay the same Open request, expect OK 76 set ASSERTION "Replay the same Open request, expect $expcode [all...] |
| open_neg06.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open without Putrootfh, expect NOFILEHANDLE 54 set ASSERTION "Open without Putrootfh, expect $expcode" 57 set res [compound {Open $oseqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 63 # First OPEN/CREATE a file w/SHARE_DENY_BOTH: 64 putmsg stdout 0 " ** First OPEN/CREATE a file w/SHARE_DENY_BOTH;" 67 set tag "OPEN-DenyBoth" 68 set res [compound {Putfh $bfh; Open $oseqid 2 3 "$cid $Tfile" [all...] |
| /test/stcnv/usr/src/suites/nfs/nfsv4/tests/basic_ops/open/ |
| open_neg02.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 31 source OPEN.env 52 # a: Open(NOCREATE) with 'name' not exist, expect NOENT 54 set ASSERTION "Open(NOCREATE) with 'name' not exist, expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(NOCREATE) w/'name' not in namespace (Solaris only), expect NOENT 64 set ASSERTION "Open(NOCREATE) w/name(/usr) not in namespace, expect $expcode" 67 set res [compound {Putrootfh; Open $seqid 3 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg03.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(NOCREATE) '.', expect INVAL|NOENT 54 set ASSERTION "Open (NOCREATE) of '.', expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(CREATE/UNCHECKED) '.', expect INVAL|OK 64 set ASSERTION "Open (CREATE/UNCHECKED) of '.', expect $expcode" 67 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg09.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 53 # a: Open(reclaim) with <cfh> is from just opened file, expect NO_GRACE 55 set ASSERTION "Open(reclaim) w/<cfh> is from just opened file, expect $expcode" 63 set res [compound {Putfh $fh1; Open $oseqid 3 0 "$cid $oowner-002" \ 65 ckres "Open" $status $expcode $res $PASS 69 # e: Open(reclaim) with <cfh> is a dir, expect ISDIR|NO_GRACE 71 set ASSERTION "Open(reclaim) w/<cfh> is dir, expect $expcode" 74 set res [compound {Putfh $bfh; Open $oseqid 3 0 "$cid $oowner-010" \ 77 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg01.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(NOCREATE) access=R, a file w/mode=000, expect ACCESS 54 set ASSERTION "Open(NOCREATE) access=R, a file w/mode=000, expect $expcode" 57 set res [compound {Putfh $bfh; Open $seqid 1 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 62 # b: Open(NOCREATE) access=W, a file w/mode=444, expect ACCESS 64 set ASSERTION "Open(NOCREATE) access=W, a file w/mode=444, expect $expcode" 67 set res [compound {Putfh $bfh; Open $seqid 2 0 "$cid $owner-b" \ 69 ckres "Open" $status $expcode $res $PAS [all...] |
| open_neg04.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 52 # a: Open(CREATE) with user has no more quota, expect DQUOT 54 set ASSERTION "Open(CREATE) with user has no more quota, expect $expcode" 67 # Under cipso in Trusted Extension, we do "Open" operation 77 Open $seqid 3 0 "$cid $owner-a" \ 80 ckres "Open" $status $expcode $res $PASS 84 # c: Open(CREATE/UNCHECKED) w/FS has no more inode, expect NOSPC 86 set ASSERTION "Open(CREATE/UNCHECKED) w/FS has no more inode, expect $expcode" 95 Open $seqid 3 0 "$cid $owner-c" [all...] |
| open_neg07.tcl | 28 # NFSv4 OPEN operation test - more of negative tests 32 source OPEN.env 58 # a: Open(non-CREATE) with lease time expired, expect EXPIRED|STALE_CLIENTID 60 set ASSERTION "Open(non-CREATE) w/lease time expired, expect $expcode" 63 set res [compound {Putfh $bfh; Open $oseqid 1 0 "$cid $oowner-a" \ 65 ckres "Open" $status $expcode $res $PASS 68 # b: Open(CREATE) with lease time expired, expect EXPIRED|STALE_CLIENTID 70 set ASSERTION "Open(CREATE) w/lease time expired, expect $expcode" 74 set res [compound {Putfh $bfh; Open $oseqid 3 0 "$cid $oowner-b" \ 76 if { [ckres "Open" $status $expcode $res $FAIL] == "true" } [all...] |
| open_neg08.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open(create/UNCHECK) w/readonly attr , expect INVAL 54 set ASSERTION "Open(create/UNCHECK) w/readonly attribute , expect $expcode" 59 Open $oseqid 3 0 "$cid ${owner}-a" \ 61 ckres "Open" $status $expcode $res $PASS 64 # b: Open(create/GUARDED) w/readonly attr , expect INVAL 66 set ASSERTION "Open(create/GUARDED) w/readonly attribute , expect $expcode" 71 Open $oseqid 3 0 "$cid ${owner}-b" \ 73 ckres "Open" $status $expcode $res $PAS [all...] |
| open_pos01.tcl | 28 # NFSv4 OPEN operation test - positive tests 29 # Basic fucntion of OPEN op 32 source OPEN.env 52 # a: Open an existing RW file (access=3,deny=0,createmode=0), expect OK 55 "Open existing RW file (access=3,deny=0,create=0), expect $expcode" 61 Open $seqid 3 0 "$cid $owner-00111" {0 0 {{mode 0644}}} {0 $TFILE}; 63 set cont [ckres "Open" $status $expcode $res $FAIL] 65 # verify the FH of OPEN is same as LOOKUP 74 # a1: Replay the same Open request, expect OK 76 set ASSERTION "Replay the same Open request, expect $expcode [all...] |
| open_neg06.tcl | 28 # NFSv4 OPEN operation test - negative tests 32 source OPEN.env 52 # a: Open without Putrootfh, expect NOFILEHANDLE 54 set ASSERTION "Open without Putrootfh, expect $expcode" 57 set res [compound {Open $oseqid 3 0 "$cid $owner-a" \ 59 ckres "Open" $status $expcode $res $PASS 63 # First OPEN/CREATE a file w/SHARE_DENY_BOTH: 64 putmsg stdout 0 " ** First OPEN/CREATE a file w/SHARE_DENY_BOTH;" 67 set tag "OPEN-DenyBoth" 68 set res [compound {Putfh $bfh; Open $oseqid 2 3 "$cid $Tfile" [all...] |
| /test/stcnv/usr/src/suites/nfs/nfsgen/tests/stress/ |
| STRESS.assertions | 36 a test user open()s and write()s a file (size defined 45 Open a large number of files. Writes some bytes (with size 56 a) Open a large enumber of files. Acquire a write lock then 66 b) Open a large number of files read donly, close and open write 67 only, close and then open read only finally close and 75 c) Open a large number of files, acquire write lock then unlink 82 d) Open a large number of files read/write, read_lock the entire
|
| /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/recovery/client/ |
| io_neg02.tcl | 51 "$tag: Open a regular file and its states, then bring down the server." 63 # First Open a regular file to establish some state 64 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner" \ 66 putmsg stderr 1 "compound {Putfh $bfh; Open $seqid 3 0 \"$cid $owner\"" 71 putmsg stdout 0 "$tag: open regular file" 72 putmsg stdout 0 "\t Test UNRESOLVED: Open failed, status=($status)" 93 # a: Open(reclaim) when <cfh>=dir during GRACE, expect GRACE 95 set ASSERTION "Open(reclaim) when <cfh>=dir during GRACE, expect $expcode" 99 # Now try to Open <cfh>=dir after reboot 100 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner" [all...] |
| /test/stcnv/usr/src/suites/nfs/nfsv4/tests/recovery/ |
| io_neg02.tcl | 46 "$tag: Open a regular file and its states, then bring down the server." 58 # First Open a regular file to establish some state 59 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner" \ 61 putmsg stderr 1 "compound {Putfh $bfh; Open $seqid 3 0 \"$cid $owner\"" 66 putmsg stdout 0 "$tag: open regular file" 67 putmsg stdout 0 "\t Test UNRESOLVED: Open failed, status=($status)" 89 # a: Open(reclaim) when <cfh>=dir during GRACE, expect GRACE 91 set ASSERTION "Open(reclaim) when <cfh>=dir during GRACE, expect $expcode" 95 # Now try to Open <cfh>=dir after reboot 96 set res [compound {Putfh $bfh; Open $seqid 3 0 "$cid $owner" [all...] |
| /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/named_attrs/attrops/ |
| named_attrs_neg07.tcl | 28 # NFSv4 OPEN with named attributes, negative tests 57 # a: Open(CREATE/Exclusiv) w/<cfh> is named_attr, expect INVAL 59 set ASSERTION "Open(CREATE/Exclusiv) w/<cfh> is named_attr, expect $expcode" 63 # get the named_attr filehandle, and tried to OPEN create/exclusive 68 Open $oseqid 3 0 "$cid $oowner-a" \ 70 if { [ckres "Open" $status $expcode $res $FAIL] == "true" } { 75 "\t Test FAIL: OPEN failed, but ($fname) created?"
|
| /test/stcnv/usr/src/suites/nfs/nfsv4/tests/named_attrs/attrops/ |
| named_attrs_neg07.tcl | 28 # NFSv4 OPEN with named attributes, negative tests 57 # a: Open(CREATE/Exclusiv) w/<cfh> is named_attr, expect INVAL 59 set ASSERTION "Open(CREATE/Exclusiv) w/<cfh> is named_attr, expect $expcode" 63 # get the named_attr filehandle, and tried to OPEN create/exclusive 68 Open $oseqid 3 0 "$cid $oowner-a" \ 70 if { [ckres "Open" $status $expcode $res $FAIL] == "true" } { 75 "\t Test FAIL: OPEN failed, but ($fname) created?"
|
| /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/nfsv4shell/scripts/ |
| opensimple.tcl | 31 # Simple script to test open of a file with and without creation, 73 # Now try to create (open_type=1) a new test file under $path with Open op 80 Open $oseqid 3 0 {$clientid $owner} \ 83 puts "\nTEST #1: Open to create $fname ..." 84 puts -nonewline " Open $oseqid 3 0 {$clientid $owner}" 88 puts stderr "ERROR: Unable to create ($fname) with Open." 91 # store the needed open info 118 puts stderr "ERROR: Close OPEN/create failed." 128 # try open without create on the same file 133 Open $oseqid 3 0 {$clientid $owner} [all...] |