From f3f4736956bb906e480d7ba50e1836c611f26be7 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 26 Mar 2022 14:05:08 +0400 Subject: Check extensions of generated files in tests --- test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c') diff --git a/test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c b/test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c index be15628c..123034b5 100644 --- a/test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c +++ b/test/Feature/ubsan/ubsan_pointer_overflow-pointer_arithmetic.c @@ -1,6 +1,8 @@ // RUN: %clang %s -fsanitize=pointer-overflow -emit-llvm -g %O0opt -c -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --emit-all-errors --ubsan-runtime %t.bc 2>&1 | FileCheck %s +// RUN: ls %t.klee-out/ | grep .ktest | wc -l | grep 2 +// RUN: ls %t.klee-out/ | grep .ptr.err | wc -l | grep 1 #include "klee/klee.h" #include -- cgit 1.4.1