Searched refs:atime (Results 1 - 25 of 133) sorted by relevance

123456

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_003_pos.ksh41 # 3. Verify the value of 'zfs get atime' and 'zfs get all | grep atime'
49 log_must zfs mount -o remount,atime $TESTPOOL/$TESTFS
55 log_must zfs set atime=on $TESTPOOL/$TESTFS
58 value1=$(zfs get -H atime $TESTPOOL/$TESTFS | awk '{print $3}')
60 grep ^atime | awk '{print $2}')
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_get/
H A Dzfs_get_003_pos.ksh46 # 3. Verify the value of 'zfs get atime' and 'zfs get all | grep atime'
63 log_must $ZFS mount -o update,atime $TESTPOOL/$TESTFS
69 log_must $ZFS set atime=on $TESTPOOL/$TESTFS
72 value1=$($ZFS get -H atime $TESTPOOL/$TESTFS | $AWK '{print $3}')
74 $GREP ^atime | $AWK '{print $2}')
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/atime/
H A DMakefile.am1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/atime
13 atime.cfg \
H A Datime_common.kshlib31 . $STF_SUITE/tests/functional/atime/atime.cfg
90 zfs inherit atime $TESTPOOL
91 zfs inherit atime $TESTPOOL/$TESTFS
92 zfs inherit atime $TESTPOOL/$TESTCLONE
H A Datime_001_pos.ksh32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
36 # When atime=on, verify the access time for files is updated when read. It
43 # 4. Setting atime=on on datasets except snapshot, and read '$TESTFILE'.
49 log_assert "Setting atime=on, the access time for files is updated when read."
69 log_must zfs set atime=on $dst
75 log_pass "Verify the property atime=on passed."
H A Datime_002_neg.ksh32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
36 # When atime=off, verify the access time for files is not updated when read.
43 # 4. Setting atime=off on dataset and read '$TESTFILE'.
49 log_assert "Setting atime=off, the access time for files will not be updated \
65 log_must zfs set atime=off $dst
71 log_pass "Verify the property atime=off passed."
H A Datime_003_pos.ksh28 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
40 # 4. Setting atime=on and relatime=on on datasets.
63 log_must zfs set atime=on $dst
H A Droot_atime_off.ksh33 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
37 # When atime=off, verify the access time for files is not updated when read.
44 # 4. Setting atime=off on dataset and read '$TESTFILE'.
50 log_assert "Setting atime=off, the access time for files will not be updated \
56 # Same as 002 except that atime applies to root dataset (OpenZFS#8675).
68 log_must zfs set atime=off $(dirname $dst)
74 log_pass "Verify the property atime=off passed."
H A Droot_atime_on.ksh33 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
37 # When atime=on, verify the access time for files is updated when read. It
44 # 4. Setting atime=on on datasets except snapshot, and read '$TESTFILE'.
50 log_assert "Setting atime=on, the access time for files is updated when read."
55 # Same as 001 except that atime/relatime applies to root dataset (OpenZFS#8675).
72 log_must zfs set atime=on $(dirname $dst)
78 log_pass "Verify the property atime=on passed."
H A Droot_relatime_on.ksh32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
44 # 4. Setting atime=on and relatime=on on datasets.
56 # Same as 003 except that atime/relatime applies to root dataset (OpenZFS#8675).
69 log_must zfs set atime=on $(dirname $dst)
/freebsd-13-stable/contrib/pjdfstest/tests/utimensat/
H A D05.t34 expect $DATE1 lstat ${n0} atime
36 expect $DATE3 lstat ${n2} atime
40 expect $DATE5 lstat ${n0} atime
42 # If atime is disabled on the current mount, then ${n2}'s atime should still be
43 # $DATE3. However, if atime is enabled, then ${n2}'s atime will be the current
46 test_check "$DATE5" -ne `"$fstest" lstat ${n2} atime`
H A D04.t5 desc="utimensat can set mtime < atime or vice versa"
26 expect $DATE1 lstat ${n0} atime
30 expect $DATE2 lstat ${n0} atime
H A D01.t25 old_atime=`$fstest lstat ${n0} atime`
30 new_atime=`$fstest lstat ${n0} atime`
47 echo "not ok 5 new atime is implausibly far in the future"
50 echo "not ok 5 atime was not updated"
H A D02.t26 expect $DATE1 lstat ${n0} atime
30 expect $DATE1 lstat ${n0} atime
H A D03.t27 expect $DATE1 lstat ${n0} atime
32 expect $DATE2 lstat ${n0} atime
H A D00.t26 expect $DATE1 lstat ${n0} atime
/freebsd-13-stable/tests/sys/cddl/zfs/tests/atime/
H A DMakefile6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/atime
9 ${PACKAGE}FILES+= atime.cfg
H A Datime_001_pos.ksh33 . $STF_SUITE/tests/atime/atime_common.kshlib
42 # When atime=on, verify the access time for files is updated when read. It
49 # 4. Setting atime=on on datasets except snapshot, and read '$TESTFILE'.
64 log_assert "Setting atime=on, the access time for files is updated when read."
80 log_must $ZFS set atime=on $dst
85 log_pass "Verify the property atime=on passed."
H A Datime_002_neg.ksh33 . $STF_SUITE/tests/atime/atime_common.kshlib
42 # When atime=off, verify the access time for files is not updated when read.
49 # 4. Setting atime=off on dataset and read '$TESTFILE'.
64 log_assert "Setting atime=off, the access time for files will not be updated \
80 log_must $ZFS set atime=off $dst
86 log_pass "Verify the property atime=off passed."
H A Datime_test.sh32 atf_set "descr" "Setting atime=on, the access time for files is updated when read."
39 . $(atf_get_srcdir)/atime.cfg
49 . $(atf_get_srcdir)/atime.cfg
58 atf_set "descr" "Setting atime=off, the access time for files will not be updatedwhen read."
65 . $(atf_get_srcdir)/atime.cfg
75 . $(atf_get_srcdir)/atime.cfg
/freebsd-13-stable/bin/pax/
H A Dtables.h149 time_t atime; member in struct:atdir
169 time_t atime; /* atime to set */ member in struct:dirdata
/freebsd-13-stable/crypto/openssh/
H A Dsftp-common.h41 u_int32_t atime; member in struct:Attrib
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_010_pos.ksh77 atime true false \
114 atime true false \
146 atime true false \
H A Dzfs_allow_012_neg.ksh60 recordsize mountpoint checksum compression canmount atime \
66 recordsize mountpoint checksum compression canmount atime \
72 recordsize mountpoint checksum compression canmount atime \
/freebsd-13-stable/contrib/pjdfstest/tests/mknod/
H A D11.t66 atime=`${fstest} stat ${n0} atime`
67 test_check $time -lt $atime

Completed in 162 milliseconds

123456