about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2014-02-04 05:27:38 -0800
committerCristian Cadar <c.cadar@imperial.ac.uk>2014-02-04 05:27:38 -0800
commit499a6c2133692846d4547c2c9409978a15bf5d9a (patch)
tree4e873bff9488346594af442b3eea17b09c67b086
parente49c1e1958e863195b01d99c92194289b4034bbb (diff)
parentb560d56fe4963583956872f4e807b9f32d46887d (diff)
downloadklee-499a6c2133692846d4547c2c9409978a15bf5d9a.tar.gz
Merge pull request #101 from delcypher/fix_isatty_llvm33
Fix Runtime/POSIX/Isatty.c test under LLVM3.3.
-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 bd514d48..3054aadb 100644
--- a/test/Runtime/POSIX/Isatty.c
+++ b/test/Runtime/POSIX/Isatty.c
@@ -1,5 +1,5 @@
 // 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: %klee --libc=uclibc --posix-runtime %t.bc --sym-files 0 10 --sym-stdout > %t.log 2>&1
 // RUN: test -f %T/klee-last/test000001.ktest
 // RUN: test -f %T/klee-last/test000002.ktest
 // RUN: test -f %T/klee-last/test000003.ktest
@@ -10,7 +10,7 @@
 // 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.
+// fprintf prints out on stdout even if stderr is provided.
 #include <unistd.h>
 #include <stdio.h>
 #include <assert.h>