diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-11-15 12:13:11 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-11-15 12:13:11 +0000 |
commit | fd4e8b1d3a3d143f21ff83f77401a4b5c63f11d2 (patch) | |
tree | cad8c64a731019c4d2f62c955a61373a834e425d /test/Runtime/POSIX/Isatty.c | |
parent | 5bde8aa3510e9ae572146d3f82d8c4c5e0f2df1a (diff) | |
parent | e7846a960800f73f80ad03fc1b387823b05d6bbc (diff) | |
download | klee-fd4e8b1d3a3d143f21ff83f77401a4b5c63f11d2.tar.gz |
Merge branch 'master' of https://github.com/ccadar/klee
Diffstat (limited to 'test/Runtime/POSIX/Isatty.c')
-rw-r--r-- | test/Runtime/POSIX/Isatty.c | 4 |
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> |