Lines Matching refs:atf_fail
42 eval $(stat -s a | sed -e 's|st_|ost_|g') || atf_fail "stat failed"
44 atf_fail "Incorrect atime: ${ost_birthtime} != ${ost_atime}"
46 atf_fail "Incorrect ctime: ${ost_birthtime} != ${ost_ctime}"
48 atf_fail "Incorrect mtime: ${ost_birthtime} != ${ost_mtime}"
52 eval $(stat -s a) || atf_fail "stat failed"
54 atf_fail "Incorrect atime: ${st_atime} <= ${ost_atime}"
56 atf_fail "Incorrect ctime: ${st_ctime} != ${ost_ctime}"
58 atf_fail "Incorrect mtime: ${st_mtime} != ${ost_mtime}"
61 echo foo >a || atf_fail "Write failed"
62 eval $(stat -s a) || atf_fail "stat failed"
64 atf_fail "Incorrect atime: ${st_atime} <= ${ost_atime}"
66 atf_fail "Incorrect ctime: ${st_ctime} <= ${ost_ctime}"
68 atf_fail "Incorrect mtime: ${st_mtime} <= ${ost_mtime}"
82 echo foo >b || atf_fail "Non-empty creation failed"
83 eval $(stat -s b | sed -e 's|st_|ost_|g') || atf_fail "stat failed"
87 eval $(stat -s b) || atf_fail "stat failed"
89 atf_fail "Incorrect atime: ${st_atime} <= ${ost_atime}"
91 atf_fail "Incorrect ctime: ${st_ctime} != ${ost_ctime}"
93 atf_fail "Incorrect mtime: ${st_mtime} != ${ost_mtime}"
107 echo foo >c || atf_fail "Non-empty creation failed"
108 eval $(stat -s c | sed -e 's|st_|ost_|g') || atf_fail "stat failed"
112 eval $(stat -s c) || atf_fail "stat failed"
114 atf_fail "Incorrect atime: ${st_atime} != ${ost_atime}"
116 atf_fail "Incorrect ctime: ${st_ctime} <= ${ost_ctime}"
118 atf_fail "Incorrect mtime: ${st_mtime} != ${ost_mtime}"
133 echo foo >e/a || atf_fail "Creation failed"
134 eval $(stat -s e | sed -e 's|st_|dost_|g') || atf_fail "stat failed"
135 eval $(stat -s e/a | sed -e 's|st_|ost_|g') || atf_fail "stat failed"
138 eval $(stat -s e | sed -e 's|st_|dst_|g') || atf_fail "stat failed"
139 eval $(stat -s e/b) || atf_fail "stat failed"
141 atf_fail "Incorrect atime: ${st_atime} != ${ost_atime}"
143 atf_fail "Incorrect ctime: ${st_ctime} <= ${ost_ctime}"
145 atf_fail "Incorrect mtime: ${st_mtime} != ${ost_mtime}"
147 atf_fail "Incorrect mtime: ${dst_mtime} <= ${dost_mtime}"