about summary refs log tree commit diff homepage
path: root/test/Feature/MemoryLimit.c
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-03-01 16:06:11 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2017-03-01 16:06:11 +0000
commitabc44d16c3f8ae6984630537254bab2027cae2f5 (patch)
tree894198e36e4d6beb0b2c1d446eb2e66256f1ebb3 /test/Feature/MemoryLimit.c
parentd4679d75c431dfd4f1289571d9f4f6c555e86334 (diff)
downloadklee-abc44d16c3f8ae6984630537254bab2027cae2f5.tar.gz
Updated test cases that check warning messages.
Diffstat (limited to 'test/Feature/MemoryLimit.c')
-rw-r--r--test/Feature/MemoryLimit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/MemoryLimit.c b/test/Feature/MemoryLimit.c
index fb9f2c86..ce4bc00f 100644
--- a/test/Feature/MemoryLimit.c
+++ b/test/Feature/MemoryLimit.c
@@ -4,17 +4,17 @@
 
 // RUN: %llvmgcc -emit-llvm -DLITTLE_ALLOC -g -c %s -o %t.little.bc
 // RUN: rm -rf %t.klee-out
-// RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.little.bc > %t.little.log 2> %t.little.err
+// RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.little.bc > %t.little.log
 // RUN: not grep -q "MALLOC FAILED" %t.little.log
 // RUN: not grep -q "DONE" %t.little.log
-// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.little.err
+// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.klee-out/warnings.txt
 
 // RUN: %llvmgcc -emit-llvm -g -c %s -o %t.big.bc
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.big.bc > %t.big.log 2> %t.big.err
 // RUN: not grep -q "MALLOC FAILED" %t.big.log
 // RUN: not grep -q "DONE" %t.big.log
-// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.big.err
+// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.klee-out/warnings.txt
 
 #include <stdlib.h>
 #include <stdio.h>