about summary refs log tree commit diff homepage
path: root/test/regression/2014-07-04-unflushed-error-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/2014-07-04-unflushed-error-report.c')
-rw-r--r--test/regression/2014-07-04-unflushed-error-report.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/regression/2014-07-04-unflushed-error-report.c b/test/regression/2014-07-04-unflushed-error-report.c
index 63431370..0518fb4d 100644
--- a/test/regression/2014-07-04-unflushed-error-report.c
+++ b/test/regression/2014-07-04-unflushed-error-report.c
@@ -1,6 +1,7 @@
 // RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc
-// RUN: %klee -check-overshift %t.bc 2> %t.log
-// RUN: FileCheck -input-file=%T/klee-last/test000001.overshift.err %s
+// RUN: rm -rf %t.klee-out
+// RUN: %klee --output-dir=%t.klee-out -check-overshift %t.bc 2> %t.log
+// RUN: FileCheck -input-file=%t.klee-out/test000001.overshift.err %s
 
 /* This test checks that the error file isn't empty and contains the
  * right content.
@@ -18,7 +19,7 @@ int main()
   // CHECK-NEXT: 2014-07-04-unflushed-error-report.c
   // FIXME: Need newer FileCheck for to do ``Line: [[@LINE+1]]``
   // Just hardcode line number for now
-  // CHECK-NEXT: Line: 22
+  // CHECK-NEXT: Line: 23
   result = x << y;
 
   return 0;