OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:atf_fail
(Results
1 - 25
of
138
) sorted by relevancy
1
2
3
4
5
6
/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
...]
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_statvfs.sh
44
atf_fail
"Invalid bsize"
49
atf_fail
"bsize * blocks too big"
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/external/bsd/atf/dist/atf-sh/
atf_check_test.sh
45
atf_fail
"atf_check does not print an informative message"
50
atf_fail
"atf_check does not print an informative message"
67
atf_fail
"atf_check does not print an informative message"
69
atf_fail
"atf_check does not print the stdout header"
71
atf_fail
"atf_check prints the stderr header"
73
atf_fail
"atf_check does not print the stdout's diff"
75
atf_fail
"atf_check does not print the stdout's diff"
92
atf_fail
"atf_check does not print an informative message"
94
atf_fail
"atf_check prints the stdout header"
96
atf_fail
"atf_check does not print the stderr header
[
all
...]
libatf-sh.subr
84
#
atf_fail
in case of failure.
89
atf_fail
"atf-check failed; see the output of the test for details"
105
atf_fail
"${1} != ${2} (${_val1} != ${_val2})"
246
#
atf_fail
msg1 [.. msgN]
252
atf_fail
()
301
atf_fail
"Test case was expecting a failure but got a pass instead"
333
atf_fail
"atf_require_prog does not accept relative path names \`${1}'"
384
eval "${1}_body() {
atf_fail
'Test case not implemented'; }"
453
# have to use the
atf_fail
function.
623
atf_fail
"Test case body returned a non-ok exit code, but"
[
all
...]
config_test.sh
61
atf_fail
"Getting an undefined variable succeeded"
63
atf_fail
"Getting an undefined variable did not report an error"
68
atf_fail
"Default value does not work"
/src/external/bsd/kyua-cli/dist/integration/
cmd_help_test.sh
33
grep '^Usage: kyua' stdout ||
atf_fail
'No usage line printed'
34
grep -- '--loglevel' stdout ||
atf_fail
'Generic options not printed'
36
atf_fail
'One option of the about subcommand appeared in the output'
38
grep 'about *Shows general' stdout ||
atf_fail
'Commands not printed'
45
grep '^Usage: kyua' stdout ||
atf_fail
'No usage line printed'
46
grep '^Run tests' stdout ||
atf_fail
'No description printed'
47
grep -- '--loglevel' stdout ||
atf_fail
'Generic options not printed'
48
grep -- '--kyuafile' stdout ||
atf_fail
'Command options not printed'
50
atf_fail
'Printed table of commands, but should not have done so'
59
grep '^Usage: kyua' stdout ||
atf_fail
'No usage line printed
[
all
...]
/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"
Completed in 34 milliseconds
1
2
3
4
5
6
Indexes created Sat Jun 20 00:25:23 UTC 2026