From 6affef76b1ba1d7d15d3b43cc11b520b80c208e3 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 5 Sep 2024 12:59:48 +0300 Subject: [PATCH] test-shared: Add more shared tests --- userspace/tests/test-shared/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/userspace/tests/test-shared/main.cpp b/userspace/tests/test-shared/main.cpp index 6120a327..255ebf42 100644 --- a/userspace/tests/test-shared/main.cpp +++ b/userspace/tests/test-shared/main.cpp @@ -1,6 +1,11 @@ +#include #include int main() { - printf("printf works!\n"); + printf("printf works\n"); + fprintf(stdout, "fprintf(stdout) works!\n"); + + errno = ENOTSUP; + perror(nullptr); }