diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-11-15 04:10:00 -0800 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-11-15 04:10:00 -0800 |
commit | e7846a960800f73f80ad03fc1b387823b05d6bbc (patch) | |
tree | 64b6dfab75b11082a889f0df6d78b1514b6d616f /test | |
parent | f755e643e22cfcad5ebd95c88f02afe1044c1597 (diff) | |
parent | 4d12ec4ee2f9dbaaa4b62b92d73c9e78b8a595e8 (diff) | |
download | klee-e7846a960800f73f80ad03fc1b387823b05d6bbc.tar.gz |
Merge pull request #69 from MartinNowack/fix_runtime_posix
Fix runtime posix
Diffstat (limited to 'test')
-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> |