OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:atf_fail
(Results
1 - 25
of
117
) sorted by relevancy
1
2
3
4
5
/src/tests/fs/tmpfs/
t_times.sh
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
[
all
...]
t_truncate.sh
37
jot 10000 >a ||
atf_fail
"Failed to create big file"
39
echo foo >a ||
atf_fail
"Failed to truncate file to a smaller size"
44
>a ||
atf_fail
"Failed to truncate to 0"
46
>a ||
atf_fail
"Failed to re-truncate to 0"
t_create.sh
68
test ${st_flags} -eq 0 ||
atf_fail
"Incorrect flags"
69
test ${st_size} -eq 0 ||
atf_fail
"Incorrect size"
70
test ${st_uid} -eq $(id -u) ||
atf_fail
"Incorrect uid"
71
test ${st_gid} -eq ${dst_gid} ||
atf_fail
"Incorrect gid"
72
test ${st_mode} = 0100644 ||
atf_fail
"Incorrect mode"
78
[ ${st_uid} -eq $(id -u ${user}) ] ||
atf_fail
"Incorrect owner"
79
[ ${st_gid} -eq 0 ] ||
atf_fail
"Incorrect group"
83
[ ${st_uid} -eq $(id -u ${user}) ] ||
atf_fail
"Incorrect owner"
84
[ ${st_gid} -eq 100 ] ||
atf_fail
"Incorrect group"
88
[ ${st_uid} -eq $(id -u ${user}) ] ||
atf_fail
"Incorrect owner
[
all
...]
t_statvfs.sh
44
atf_fail
"Invalid bsize"
49
atf_fail
"bsize * blocks too big"
h_funcs.subr
51
atf_fail
"Failed to mount a tmpfs file system"
80
atf_fail
"Could not launch kqueue monitor"
83
atf_fail
"Got ${got} events but expected ${nev}"
95
atf_fail
"${1} did not receive ${2}"
t_read_write.sh
41
echo foo >a ||
atf_fail
"Failed to write to file"
43
atf_fail
"Invalid file contents"
46
echo bar >>a ||
atf_fail
"Failed to append data to file"
48
atf_fail
"Invalid file contents"
51
jot 10000 >b ||
atf_fail
"Failed to create a big file"
53
atf_fail
"Invalid file contents"
/src/tests/bin/sh/
t_varval.sh
86
atf_fail
'echo 9 -> tab'
91
atf_fail
'65 -> A'
96
atf_fail
'1 -> ^A'
101
atf_fail
'10 -> \n'
106
atf_fail
'redir into 45 -> E'
108
atf_fail
"failed to create prefix-suffix (45)"
110
atf_fail
"no data in prefix-suffix (45)"
112
atf_fail
"incorrect data in prefix-suffix (45)"
128
atf_fail
'making results'
130
atf_fail
"Incorrect lengths: $(grep -nv '^13$' results)
[
all
...]
t_evaltested.sh
53
atf_fail
"$output"
55
atf_fail
"'eval false' exited from a tested context"
/src/tests/lib/libevent/
t_event.sh
41
$(atf_get_srcdir)/h_event 2>&1 ||
atf_fail
"check report"
50
$(atf_get_srcdir)/h_event 2>&1 ||
atf_fail
"check report"
59
$(atf_get_srcdir)/h_event 2>&1 ||
atf_fail
"check report"
/src/tests/lib/libpthread/
t_resolv.sh
36
"$(atf_get_srcdir)"/d_mach ||
atf_fail
"test failed"
/src/tests/lib/libsljit/
t_sljit.sh
39
$(atf_get_srcdir)/h_sljit 2>&1 ||
atf_fail
"check report"
/src/tests/lib/libc/stdlib/
t_atexit.sh
36
||
atf_fail
"h_atexit failed, see output of the test for details"
48
||
atf_fail
"h_atexit failed, see output of the test for details"
/src/tests/lib/libnvmm/
t_io_assist.sh
46
atf_fail
"I/O Assist failed with errno $exitcode"
t_mem_assist.sh
46
atf_fail
"Mem Assist failed with errno $exitcode"
/src/tests/libexec/ld.elf_so/
t_thread_local_dtor.sh
36
||
atf_fail
"h_thread_local_dtor failed, see output of the test for details"
48
||
atf_fail
"h_thread_local_dtor failed, see output of the test for details"
/src/tests/dev/sysmon/
t_swsensor.sh
131
atf_fail
"0: Device swsensor not registered"
137
atf_fail
"1: Could not set refresh-timeout to 2s"
142
atf_fail
"2: Value not available"
148
atf_fail
"3: Value not updated"
154
atf_fail
"4: Limit not set by device"
164
atf_fail
"5: No event triggered"
166
atf_fail
"5: Multiple events triggered"
170
atf_fail
"5: ${evt}"
181
atf_fail
"6: No event triggered"
183
atf_fail
"6: Multiple events triggered
[
all
...]
/src/tests/usr.bin/realpath/
t_realpath.sh
138
atf_fail
"Did not make test directory"
139
cd "${DIR}" ||
atf_fail
"Unable to cd $DIR"
144
mkdir Dir && cd Dir ||
atf_fail
"enter Dir"
146
>StdOut ||
atf_fail
"setup StdOut"
147
>StdErr ||
atf_fail
"setup StdErr"
148
ln -s ../Dir Dir ||
atf_fail
"setup Dir"
149
ln -s Loop Loop ||
atf_fail
"setup Loop"
150
ln -s . Self ||
atf_fail
"setup Self"
151
mkdir S1 S1/S2 S1/S3 S4 S4/S5 ||
atf_fail
"setup subdirs"
152
echo S1/S2/File > S1/S2/File ||
atf_fail
"setup File
[
all
...]
/src/tests/fs/cd9660/
t_high_ino_big_file.sh
83
$(atf_get_srcdir)/h_hexdump_r < $(atf_get_srcdir)/pr_48787.image.hex > pr_48787.image ||
atf_fail
"h_hexdump_r failed"
89
atf_fail
"${mntpnt}/small_file does not exist"
92
atf_fail
"${mntpnt}/my/large_file does not exist"
98
atf_fail
"${mntpnt}/small_file does not exist"
101
atf_fail
"${mntpnt}/my/large_file does not exist"
/src/tests/usr.sbin/stdethers/
t_stdethers.sh
37
atf_fail
"failed to parse $1"
42
atf_fail
"$strerror"
/src/tests/usr.sbin/stdhosts/
t_stdhosts.sh
37
atf_fail
"failed to parse $1"
42
atf_fail
"$strerror"
/src/tests/bin/date/
t_date.sh
49
atf_fail
"$yy vs. $yyy"
/src/tests/kernel/
t_interp.sh
39
atf_fail
"Interpreter is not '/bin/sh': '$me'"
t_nointerpreter.sh
46
atf_fail
"Kernel spams harmless diagnostics"
/src/tests/lib/libc/net/
t_protoent.sh
86
atf_fail
"Observed output does not match reference output"
t_servent.sh
90
diff -u exp out ||
atf_fail
"Observed output does not match reference output"
Completed in 16 milliseconds
1
2
3
4
5
Indexes created Sat Oct 18 08:10:09 GMT 2025