HomeSort by relevance Sort by last modified time
    Searched refs:Read (Results 1 - 25 of 54) sorted by null

1 2 3

  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/basic_ops/read/
read_neg01.tcl 28 # NFSv4 READ operation test - negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
44 # a: Try to read a file without <cfh> - expect NOFILEHANDLE
46 set ASSERTION "Try to read a file without <cfh>, expect $expcode"
49 set res [compound {Read {0 0} 0 1024}]
50 ckres "Read" $status $expcode $res $PASS
53 # b: Try to read a file without READ permission - expect ACCESS
55 set ASSERTION "Try to read a file without READ permission, expect $expcode
    [all...]
read_neg02.tcl 28 # NFSv4 READ operation test - negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
44 # a: Read a file w/an invalid stateid (not from Open) -
48 set ASSERTION "Read a file w/invalid stateid (not from Open), expect $expcode"
52 set res [compound {Putfh $bfh; Lookup $env(TEXTFILE); Read $stateid 0 1024}]
53 ckres "Read" $status $expcode $res $PASS
70 # Now do negative READ testing:
74 # b: Read a file with an invalid stateid (seqid+1) - expect BAD_STATEID
77 set ASSERTION "Read a file w/invalid stateid (seqid+1), expect $expcode
    [all...]
read_neg03.tcl 28 # NFSv4 READ operation test - more negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
52 # b: Test READ w/OPEN,LOCK-1,LOCK-2,READ(LOCK-1-stateid), expect OLD_STATEID
59 "READ w/OPEN,LOCK-1,LOCK-2,READ(LOCK-1-sid), expect $expcode"
90 # Now try to READ with Lock-stateid-1
91 set res [compound {Putfh $nfh; Read $lsid1 0 64}]
92 ckres "Read" $status $expcode $res $PAS
    [all...]
READ_proc.tcl 28 # TCL procedure for READ operation testing
31 # Test procedure to Open and Read a file and check for len and EOF flag.
34 # fname: the filename of the file to be Opened/Read
35 # off: the offset to Read
36 # cnt: the count of bytes to Read
37 # expcode: the expected status code from the Read op
38 # explen: the expected length Read
39 # expeof: the expected EOF flag from Read op
58 # Now open the file for read
68 # Now read the fil
    [all...]
read_pos02.tcl 28 # NFSv4 READ operation test - positive tests
32 source READ.env
48 # a: Read a binary file < 1K (1023 byte) - expect OK
50 set ASSERTION "Read a binary file < 1K (1023 byte), expect $expcode"
63 # b: Read a binary file > 1K (1025 byte) - expect OK
65 set ASSERTION "Read a binary file > 1K (1025 byte), expect $expcode"
78 # c: Read a binary file till the end of the file, count>32k - expect OK
80 set ASSERTION "Read a binary file till EOF, count>32k, expect $expcode"
91 # d: Read a text file 1B at a time till EOF - expect OK
93 set ASSERTION "Read a binary file 1B at a time till EOF, expect $expcode
    [all...]
  /test/stcnv/usr/src/suites/nfs/nfsv4/tests/basic_ops/read/
read_neg01.tcl 28 # NFSv4 READ operation test - negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
44 # a: Try to read a file without <cfh> - expect NOFILEHANDLE
46 set ASSERTION "Try to read a file without <cfh>, expect $expcode"
49 set res [compound {Read {0 0} 0 1024}]
50 ckres "Read" $status $expcode $res $PASS
53 # b: Try to read a file without READ permission - expect ACCESS
55 set ASSERTION "Try to read a file without READ permission, expect $expcode
    [all...]
read_neg02.tcl 28 # NFSv4 READ operation test - negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
44 # a: Read a file w/an invalid stateid (not from Open) -
48 set ASSERTION "Read a file w/invalid stateid (not from Open), expect $expcode"
52 set res [compound {Putfh $bfh; Lookup $env(TEXTFILE); Read $stateid 0 1024}]
53 ckres "Read" $status $expcode $res $PASS
70 # Now do negative READ testing:
74 # b: Read a file with an invalid stateid (seqid+1) - expect BAD_STATEID
77 set ASSERTION "Read a file w/invalid stateid (seqid+1), expect $expcode
    [all...]
read_neg03.tcl 28 # NFSv4 READ operation test - more negative tests
29 # verify SERVER errors returned with invalid read.
32 source READ.env
52 # b: Test READ w/OPEN,LOCK-1,LOCK-2,READ(LOCK-1-stateid), expect OLD_STATEID
59 "READ w/OPEN,LOCK-1,LOCK-2,READ(LOCK-1-sid), expect $expcode"
90 # Now try to READ with Lock-stateid-1
91 set res [compound {Putfh $nfh; Read $lsid1 0 64}]
92 ckres "Read" $status $expcode $res $PAS
    [all...]
READ_proc.tcl 28 # TCL procedure for READ operation testing
31 # Test procedure to Open and Read a file and check for len and EOF flag.
34 # fname: the filename of the file to be Opened/Read
35 # off: the offset to Read
36 # cnt: the count of bytes to Read
37 # expcode: the expected status code from the Read op
38 # explen: the expected length Read
39 # expeof: the expected EOF flag from Read op
58 # Now open the file for read
68 # Now read the fil
    [all...]
read_pos02.tcl 28 # NFSv4 READ operation test - positive tests
32 source READ.env
48 # a: Read a binary file < 1K (1023 byte) - expect OK
50 set ASSERTION "Read a binary file < 1K (1023 byte), expect $expcode"
63 # b: Read a binary file > 1K (1025 byte) - expect OK
65 set ASSERTION "Read a binary file > 1K (1025 byte), expect $expcode"
78 # c: Read a binary file till the end of the file, count>32k - expect OK
80 set ASSERTION "Read a binary file till EOF, count>32k, expect $expcode"
91 # d: Read a text file 1B at a time till EOF - expect OK
93 set ASSERTION "Read a binary file 1B at a time till EOF, expect $expcode
    [all...]
  /test/ontest-stc2/src/suites/zfs/tests/functional/xattr/
xattr_007_neg.ksh 40 # created yet, and snapshots are read-only) See fsattr(5) for more details.
85 log_must $GREP -i Read-only /tmp/output.$$
92 log_must $GREP -i Read-only /tmp/output.$$
  /test/stcnv/usr/src/suites/fs/zfs/tests/functional/xattr/
xattr_007_neg.ksh 40 # created yet, and snapshots are read-only) See fsattr(5) for more details.
85 log_must $GREP -i Read-only /tmp/output.$$
92 log_must $GREP -i Read-only /tmp/output.$$
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/num_attrs/
num_attrs_pos15.tcl 30 # a: Test get attr FATTR4_FILEID after a read of file object, expect OK
51 # a: Test get attr FATTR4_FILEID after a read of a file object, expect OK
53 set ASSERTION "Test get attr FATTR4_FILEID after a read of file object, expect OK"
66 Read $sid 0 4096;
71 puts "Attributes After Read and Getattr: "
  /test/stcnv/usr/src/suites/nfs/nfsv4/tests/num_attrs/
num_attrs_pos15.tcl 30 # a: Test get attr FATTR4_FILEID after a read of file object, expect OK
51 # a: Test get attr FATTR4_FILEID after a read of a file object, expect OK
53 set ASSERTION "Test get attr FATTR4_FILEID after a read of file object, expect OK"
66 Read $sid 0 4096;
71 puts "Attributes After Read and Getattr: "
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/nfsv4shell/scripts/
tclprocs.tcl 123 maxread { puts "\tMax read = $val" }
224 # Read a remote file using NFSv4 when given the path components
228 # given offset; then print out the data being read.
233 set rres [compound {Putfh $pfh; Read $stateid $offset $count}]
243 # Read a remote file using NFSv4 when given the path filehandle
247 # given offset; then print out the data being read.
251 set rres [compound {Putfh $pfh; Read $stateid $offset $count}]
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/named_attrs/attrops/
READ_proc.tcl 28 # TCL procedure for READ operation testing
31 # Test procedure to Open and Read a file and check for len and EOF flag.
34 # fname: the filename of the file to be Opened/Read
35 # off: the offset to Read
36 # cnt: the count of bytes to Read
37 # expcode: the expected status code from the Read op
38 # explen: the expected length Read
39 # expeof: the expected EOF flag from Read op
49 # Open the file for read
87 # Now read the fil
    [all...]
  /test/stcnv/usr/src/suites/nfs/nfsv4/nfsv4shell/scripts/
tclprocs.tcl 123 maxread { puts "\tMax read = $val" }
224 # Read a remote file using NFSv4 when given the path components
228 # given offset; then print out the data being read.
233 set rres [compound {Putfh $pfh; Read $stateid $offset $count}]
243 # Read a remote file using NFSv4 when given the path filehandle
247 # given offset; then print out the data being read.
251 set rres [compound {Putfh $pfh; Read $stateid $offset $count}]
  /test/stcnv/usr/src/suites/nfs/nfsv4/tests/named_attrs/attrops/
READ_proc.tcl 28 # TCL procedure for READ operation testing
31 # Test procedure to Open and Read a file and check for len and EOF flag.
34 # fname: the filename of the file to be Opened/Read
35 # off: the offset to Read
36 # cnt: the count of bytes to Read
37 # expcode: the expected status code from the Read op
38 # explen: the expected length Read
39 # expeof: the expected EOF flag from Read op
49 # Open the file for read
87 # Now read the fil
    [all...]
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/basic_ops/write/
rw_bnd01.tcl 28 # NFSv4 READ/WRITE operation test - positive boundary tests
91 # b: Read up to 2G boundary (offset=2g-4K, count=4K) - expect OK
93 set ASSERTION "Read up to 2G boundary (off=2g-4K, count=4K), expect $expcode"
96 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
98 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count."
103 putmsg stderr 0 "\t Test FAIL: incorrect read len"
136 # d: Read over 2G boundary (offset=2g-4K, count=8K) - expect OK
138 set ASSERTION "Read over 2G boundary (off=2g-4K, count=8K), expect $expcode"
142 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
144 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count.
    [all...]
rw_bnd02.tcl 28 # NFSv4 READ/WRITE operation test - positive boundary tests
100 # b: Read attr file up to 2G boundary (offset=2g-4K, count=4K) - expect OK
103 "Read attr file up to 2G boundary (off=2g-4K, count=4K), expect $expcode"
106 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
108 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count."
113 putmsg stderr 0 "\t Test FAIL: incorrect read len"
147 # d: Read attr file over 2G boundary (offset=2g-4K, count=8K) - expect OK
150 "Read attr file over 2G boundary (off=2g-4K, count=8K), expect $expcode"
154 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
156 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count.
    [all...]
  /test/stcnv/usr/src/suites/nfs/nfsv4/tests/basic_ops/write/
rw_bnd01.tcl 28 # NFSv4 READ/WRITE operation test - positive boundary tests
91 # b: Read up to 2G boundary (offset=2g-4K, count=4K) - expect OK
93 set ASSERTION "Read up to 2G boundary (off=2g-4K, count=4K), expect $expcode"
96 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
98 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count."
103 putmsg stderr 0 "\t Test FAIL: incorrect read len"
136 # d: Read over 2G boundary (offset=2g-4K, count=8K) - expect OK
138 set ASSERTION "Read over 2G boundary (off=2g-4K, count=8K), expect $expcode"
142 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
144 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count.
    [all...]
rw_bnd02.tcl 28 # NFSv4 READ/WRITE operation test - positive boundary tests
100 # b: Read attr file up to 2G boundary (offset=2g-4K, count=4K) - expect OK
103 "Read attr file up to 2G boundary (off=2g-4K, count=4K), expect $expcode"
106 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
108 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count."
113 putmsg stderr 0 "\t Test FAIL: incorrect read len"
147 # d: Read attr file over 2G boundary (offset=2g-4K, count=8K) - expect OK
150 "Read attr file over 2G boundary (off=2g-4K, count=8K), expect $expcode"
154 set res [compound {Putfh $nfh; Read $open_sid $off $count; Getattr size}]
156 putmsg stderr 0 "\t Test FAIL: failed to read at $off for $count.
    [all...]
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/basic_ops/renew/
renew_pos02.tcl 108 set res [compound {Putfh $nfh; Read $osid 0 10; Getattr size}]
110 ckres "OPEN/READ" $status $expcode $res $PASS
113 # Lease should be renewed by the READ op above.
114 # b: Verify successful READ op renew the lease, expect OK
116 set ASSERTION "Verify successful READ op renew the lease, expect $expcode"
120 " wait for 3/4 of leasetime, lease should still be valid after READ"
127 ckres "READ/WRITE" $status $expcode $res $PASS
257 set res [compound {Putfh $bfh; Lookup $tf; Read {1 1} 0 99}]
259 ckres "OPEN/READ{1,1}" $status $expcode $res $PASS
262 # n: Verify successful READ w/stateid{1 1} does not renew lease, next rea
    [all...]
  /test/stcnv/usr/src/suites/nfs/nfsv4/tests/basic_ops/renew/
renew_pos02.tcl 108 set res [compound {Putfh $nfh; Read $osid 0 10; Getattr size}]
110 ckres "OPEN/READ" $status $expcode $res $PASS
113 # Lease should be renewed by the READ op above.
114 # b: Verify successful READ op renew the lease, expect OK
116 set ASSERTION "Verify successful READ op renew the lease, expect $expcode"
120 " wait for 3/4 of leasetime, lease should still be valid after READ"
127 ckres "READ/WRITE" $status $expcode $res $PASS
257 set res [compound {Putfh $bfh; Lookup $tf; Read {1 1} 0 99}]
259 ckres "OPEN/READ{1,1}" $status $expcode $res $PASS
262 # n: Verify successful READ w/stateid{1 1} does not renew lease, next rea
    [all...]
  /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/nfsv4shell/nfsh/
nfstcl4.h 100 extern int Read();

Completed in 780 milliseconds

1 2 3