summaryrefslogtreecommitdiff
path: root/examples/hello_errwarn/expect.out
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello_errwarn/expect.out')
-rw-r--r--examples/hello_errwarn/expect.out23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/hello_errwarn/expect.out b/examples/hello_errwarn/expect.out
new file mode 100644
index 0000000..8587981
--- /dev/null
+++ b/examples/hello_errwarn/expect.out
@@ -0,0 +1,23 @@
+======= ex ==========
+hello: warnx test1: Cannot allocate memory
+hello: errx test1: Cannot allocate memory
+$?=21
+hello: warnx test2, six=6: Cannot allocate memory
+hello: errx test2, six=6: Cannot allocate memory
+$?=22
+errx(3): invalid argv
+$?=94
+hello: warn test1
+hello: err test1
+$?=11
+hello: warn test2, five=5
+hello: err test2, five=5
+$?=12
+err(3): invalid argv
+$?=93
+======= CLEANFILES ==========
+hello.o
+progname.o
+err.o
+warn.o
+======= cleandir ==========