atf_tc_fail
void atf_tc_fail(char *, ...)
#define atf_tc_fail_nonfatal(fmt, ...) atf_tc_fail(fmt, ##__VA_ARGS__)
atf_tc_fail(fmt "\nEXPECTED_FAIL", ##__VA_ARGS__)
atf_tc_fail(fmt "\nSKIPPING", ##__VA_ARGS__)
atf_tc_fail("%s", buf);
#define __unreachable() atf_tc_fail("unreachable")
atf_tc_fail("chroot(2) did not change the root directory");
atf_tc_fail("chroot(2) succeeded as unprivileged user");
atf_tc_fail("fchroot(2) failed");
atf_tc_fail("fchroot(2) did not change the root directory");
atf_tc_fail("fchroot(2) succeeded as unprivileged user");
atf_tc_fail("chroot(2) failed");
atf_tc_fail("setsockopt failed: %s", strerror(errno));
atf_tc_fail("connect failed: %s%s",
atf_tc_fail("invalid descriptor");
atf_tc_fail("system call error");
atf_tc_fail("dup(2) dupped more than RLIMIT_NOFILE");
atf_tc_fail("unknown error");
atf_tc_fail("invalid mode");
atf_tc_fail("getgroups(2) is inconsistent");
atf_tc_fail("getgroups(2) modified the buffer");
atf_tc_fail("getgid(2) not found from getgroups(2)");
atf_tc_fail("timer did not fire");
atf_tc_fail("setitimer(2) did not store old values");
atf_tc_fail("getitimer(2) modfied the timer before it was armed");
atf_tc_fail("setlogin(2) failed to set login name");
atf_tc_fail("expected EFAULT, but the call succeeded");
atf_tc_fail("expected EINVAL, but the call succeeded");
atf_tc_fail("setlogin(2) failed, but login name was set");
atf_tc_fail("login name was set as an unprivileged user");
atf_tc_fail("getlogin(2) and getlogin_r(2) differ");
atf_tc_fail("Unequal PIDs");
atf_tc_fail("PID mismatch");
atf_tc_fail("PID mismatch");
atf_tc_fail("getrusage(2) did not record signals");
atf_tc_fail("user time went backwards");
atf_tc_fail("anticipated error did not occur");
atf_tc_fail("zero user time from getrusage(2)");
atf_tc_fail("anticipated error did not occur");
atf_tc_fail("invalid session ID");
atf_tc_fail("getsid(0) did not match the calling process");
atf_tc_fail("time went backwards");
atf_tc_fail("expected EINVAL, but kill(2) succeeded");
atf_tc_fail("expected ESRCH, but kill(2) succeeded");
atf_tc_fail("unknown error from kill(2)");
atf_tc_fail("getpwnam(3) failed");
atf_tc_fail("killed a process of another user");
atf_tc_fail("unknown error from kill(2)");
atf_tc_fail("failed to kill(2) a process group");
atf_tc_fail("failed to kill(2) a process group");
atf_tc_fail("kill(2) failed to kill child");
atf_tc_fail("unequal UIDs");
atf_tc_fail("unequal modes");
atf_tc_fail("unequal inodes");
atf_tc_fail("incorrect link(2) count");
atf_tc_fail("setsockopt failed: %s", strerror(errno));
atf_tc_fail("listen failed: %s%s",
atf_tc_fail("failed to create '%s'", path);
atf_tc_fail("invalid UID for '%s'", path);
atf_tc_fail("GID did not follow the parent directory");
atf_tc_fail("FIFO did not block");
atf_tc_fail("FIFO blocked for O_NONBLOCK open(2)");
atf_tc_fail("invalid mode from mkfifo(2)");
atf_tc_fail("invalid mode from mknod(2) with S_IFIFO");
atf_tc_fail("mkfifo(2) failed");
atf_tc_fail("mlock(2) locked beyond system limits");
atf_tc_fail("socketpair() failed");
atf_tc_fail("setsockopt() failed, SO_RCVBUF");
atf_tc_fail("setsockopt() failed, SO_SNDBUF");
atf_tc_fail("fcntl() failed");
atf_tc_fail("write() failed");
atf_tc_fail("read() failed");
atf_tc_fail("too short read");
atf_tc_fail("data mismatch");
atf_tc_fail("child process got SIGSEGV instead of SIGBUS");
atf_tc_fail("failed to read vm.user_va0_disable");
atf_tc_fail("system call failed");
atf_tc_fail("UID %u manipulated root's "
atf_tc_fail("the PID of last msgsnd(2) was not updated");
atf_tc_fail("the PID of last msgrcv(2) was not updated");
atf_tc_fail("root failed to change the UID of message queue");
atf_tc_fail("root failed to change the GID of message queue");
atf_tc_fail("root failed to change qbytes of message queue");
atf_tc_fail("time of last msgsnd(2) was not updated");
atf_tc_fail("time of last msgrcv(2) was updated incorrectly");
atf_tc_fail("time of last msgrcv(2) was not updated");
atf_tc_fail("time of last msgsnd(2) was updated incorrectly");
atf_tc_fail("failed to create message queue");
atf_tc_fail("message queue was removed on process exit");
atf_tc_fail("msgget(2) initialized current time incorrectly");
atf_tc_fail("msgget(2) opened more than %d queues", lim);
atf_tc_fail("failed to create message queue");
atf_tc_fail("msgget(2) failed for IPC_EXCL");
atf_tc_fail("msgget(2) failed to re-open");
atf_tc_fail("msgrcv(2) did not block");
atf_tc_fail("msgrcv(2) blocked with IPC_NOWAIT");
atf_tc_fail("msgrcv(2) failed");
atf_tc_fail("msgsnd(2) did not block");
atf_tc_fail("failed to enqueue a message");
atf_tc_fail("incorrect message count");
atf_tc_fail("msgsnd(2) blocked with IPC_NOWAIT");
atf_tc_fail("system call failed");
atf_tc_fail("UID %u enqueued message to root's queue", uid);
atf_tc_fail("%s", str);
atf_tc_fail("%s", str);
atf_tc_fail("%s", str);
atf_tc_fail("sigsuspend(&emptysigset): %s",
atf_tc_fail("revoke(2) did not obey permissions");
atf_tc_fail("pselect() masks don't match "
atf_tc_fail("pselect() did not receive signal");
atf_tc_fail("pselect() did not receive signal");
atf_tc_fail("failed to set limit (%d)", lim);
atf_tc_fail("initialization failed");
atf_tc_fail("RLIMIT_FSIZE not enforced");
atf_tc_fail("initialization failed");
atf_tc_fail("RLIMIT_MEMLOCK not enforced");
atf_tc_fail("RLIMIT_NOFILE not enforced");
atf_tc_fail("RLIMIT_NOFILE not enforced");
atf_tc_fail("RLIMIT_NPROC not enforced");
atf_tc_fail("initialization failed");
atf_tc_fail("failed to change UID to %u", pw->pw_uid);
atf_tc_fail("%s; raw exit status was %d", fail_message, status);
atf_tc_fail("signal handler wasn't called (count=%d)", i);
atf_tc_fail("alternative stack wasn't used (count=%d)", i);
atf_tc_fail("inconsistent stat(2)");
atf_tc_fail("stat(2) and fts(3) differ");
atf_tc_fail("mtimes did not change");
atf_tc_fail("invalid GID");
atf_tc_fail("invalid UID");
atf_tc_fail("invalid file size");
atf_tc_fail("stat(2) and fstat(2) mismatch");
atf_tc_fail("fstat(2) failed for a EINPROGRESS socket");
atf_tc_fail("stat(2) detected symbolic link");
atf_tc_fail("lstat(2) did not detect symbolic link");
atf_tc_fail("inconsistencies between stat(2) and lstat(2)");
atf_tc_fail("stat(2) did not detect chflags(2)");
atf_tc_fail("truncate(2) did not truncate");
atf_tc_fail("ftruncate(2) did not truncate");
atf_tc_fail("umask(2) was not inherited");
atf_tc_fail("%s", str);
atf_tc_fail("umask(2) did not return the previous mask");
atf_tc_fail("inconsistent return values from write(2)");
atf_tc_fail(fmt "\nEXPECTED_FAIL", ##__VA_ARGS__)
atf_tc_fail(fmt "\nSKIPPING", ##__VA_ARGS__)
void atf_tc_fail(char *, ...)
atf_tc_fail(file ":%d " fmt, line, ##__VA_ARGS__)
#define atf_tc_fail_nonfatal(fmt, ...) atf_tc_fail(fmt, ##__VA_ARGS__)
void atf_tc_fail(char *, ...)
#define atf_tc_fail_nonfatal(fmt, ...) atf_tc_fail(fmt, ##__VA_ARGS__)
atf_tc_fail(fmt "\nEXPECTED_FAIL", ##__VA_ARGS__)
atf_tc_fail(fmt "\nSKIPPING", ##__VA_ARGS__)
#define __unreachable() atf_tc_fail("unreachable")