about summary refs log tree commit diff homepage
path: root/test/Runtime/POSIX/Isatty.c
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-14 20:59:49 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-14 20:59:49 +0100
commit291ab55097f1532a6180de10ce2f410971b6d621 (patch)
treed5160cbadc0dccc58d8c9128e1dfa87fac1e134c /test/Runtime/POSIX/Isatty.c
parentff487123bf3174243554dd183c9fc16063ba876d (diff)
downloadklee-291ab55097f1532a6180de10ce2f410971b6d621.tar.gz
Add additional note that testcase might fail if
uclibc is compiled without symbolic printf support
Diffstat (limited to 'test/Runtime/POSIX/Isatty.c')
-rw-r--r--test/Runtime/POSIX/Isatty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Runtime/POSIX/Isatty.c b/test/Runtime/POSIX/Isatty.c
index 4f8d1425..293ee653 100644
--- a/test/Runtime/POSIX/Isatty.c
+++ b/test/Runtime/POSIX/Isatty.c
@@ -1,16 +1,16 @@
 // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t.bc
 // RUN: %klee --libc=uclibc --posix-runtime %t.bc --sym-files 0 10 --sym-stdout 2>%t.log
-
 // RUN: test -f klee-last/test000001.ktest
 // RUN: test -f klee-last/test000002.ktest
 // RUN: test -f klee-last/test000003.ktest
 // RUN: test -f klee-last/test000004.ktest
-
 // RUN: grep -q "stdin is a tty" %t.log
 // RUN: grep -q "stdin is NOT a tty" %t.log
 // RUN: grep -q "stdout is a tty" %t.log
 // RUN: grep -q "stdout is NOT a tty" %t.log
 
+// Depending on how uClibc is compiled (i.e. without -DKLEE_SYM_PRINTF)
+// fprintf prints out on stdout even stderr is provided.
 #include <unistd.h>
 #include <stdio.h>
 #include <assert.h>