--- /dev/null	Mon Aug  5 17:20:54 2019
+++ new/usr/src/test/nfsv4-tests/tests/num_attrs/num_attrs_pos30.tcl	Mon Aug  5 17:20:54 2019
@@ -0,0 +1,140 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+# Test NFSv4 numbered attributes(UFS refers to Unix Filesystem): 
+# {a}: Test get attr FATTR4_TIME_BACKUP of last access to file not supported 
+#      on UFS, expect OK 
+# {b}: Test get attr FATTR4_TIME_CREATE for a file not supported on UFS, 
+#      expect OK 
+#
+# These attributes are NOT SUPPORTED on NFSv4 UFS.
+#
+
+# Get the TESTROOT directory; set to '.' if not defined
+set TESTROOT $env(TESTROOT)
+set delm $env(DELM)
+
+# include common code and init section
+source ${TESTROOT}${delm}tcl.init
+source ${TESTROOT}${delm}testproc
+
+# connect to the test server
+Connect
+
+# setting local variables
+set TNAME $argv0
+set bfh [get_fh "$BASEDIRS"]
+set expcode "OK"
+
+# Start testing 
+# -----------------------------------------------------------------
+# a: Test set/get attr FATTR4_TIME_BACKUP of last access to file, expect OK
+
+set ASSERTION "Test get attr FATTR4_TIME_BACKUP of last access to file, expect $expcode"
+putmsg stdout 0 "$TNAME{a}: $ASSERTION"
+
+# Get a list of the supported attributes
+set attr {supported_attrs}
+
+# Generate a compound request that
+# obtains the attributes for the path.
+set res [compound { Putfh $bfh; Lookup $env(TEXTFILE); Getfh; Getattr $attr }]
+ckres "Getattr" $status $expcode $res $FAIL
+set fh [lindex [lindex $res 2] 2]
+# Create supported_attr list
+set alist [lindex [lindex $res 3] 2]
+foreach attrval $alist {
+        set val [lindex $attrval 1]
+        set list [split $val]
+        putmsg stdout 1 "val on alist is $val"
+        putmsg stdout 1 "split list is $list"
+}
+
+# Generate a compound request that
+# obtains the attributes for the path.
+set attr {time_backup}
+set res2 [compound { Putfh $bfh; Lookup $env(TEXTFILE); Getfh; Getattr $attr }]
+set cont [ckres "Getattr" $status $expcode $res2 $FAIL]
+
+if { ![string equal $cont "false"] } {
+# Verify attr not in supported_attr list
+if { [ lsearch -exact $list $attr ] < 0 } {
+        putmsg stdout 0 "\tTest PASS: $attr not in supported attr list"
+} else {
+        putmsg stdout 0 "\tTest FAIL: unexpected $attr in supported attr list"
+}
+}
+
+puts " "
+
+# -----------------------------------------------------------------
+# b: Test get attr FATTR4_TIME_CREATE for a file object, expect OK
+
+set ASSERTION "Test get attr FATTR4_TIME_CREATE for a file object, expect $expcode"
+putmsg stdout 0 "$TNAME{b}: $ASSERTION"
+
+# Get a list of the supported attributes
+set attr {supported_attrs}
+
+# Generate a compound request that
+# obtains the attributes for the path.
+set res [compound { Putfh $bfh; Lookup $env(TEXTFILE); Getfh; Getattr $attr }]
+set cont [ckres "Getattr" $status $expcode $res $FAIL]
+
+if { ![string equal $cont "false"] } { 
+
+set fh [lindex [lindex $res 2] 2]
+# Create supported_attr list
+set alist [lindex [lindex $res 3] 2]
+foreach attrval $alist {
+	set val [lindex $attrval 1]
+	set list [split $val]
+	putmsg stdout 1 "val on alist is $val"
+	putmsg stdout 1 "split list is $list"
+}
+
+
+# Setup testfile for attribute purposes
+set attr {time_create}
+
+# Attempt Getattr of unsupported time_create attr
+set res2 [compound { Putfh $bfh; Lookup $env(TEXTFILE); Getfh; Getattr $attr }]
+set cont2 [ckres "Getattr" $status $expcode $res2 $FAIL]
+
+if { ![string equal $cont2 "false"] } {
+	# Verify attr not in supported_attr list
+	if { [ lsearch -exact $list $attr ] < 0 } {
+        	putmsg stdout 0 "\tTest PASS: $attr not in supported attr list"
+	} else {
+        	putmsg stdout 0 "\tTest FAIL: unexpected $attr in supported attr list"
+	}
+}
+
+}
+
+puts ""
+
+Disconnect 
+exit $PASS 
