about summary refs log tree commit diff homepage
path: root/test/Feature/ubsan/ubsan_alignment-assumption.c
diff options
context:
space:
mode:
authorPavel <operasfantom@gmail.com>2022-03-26 14:05:08 +0400
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-09-14 20:40:10 +0100
commitf3f4736956bb906e480d7ba50e1836c611f26be7 (patch)
treec6cd6ec3cf8cfca137f5045ea99d87f1a2c03af2 /test/Feature/ubsan/ubsan_alignment-assumption.c
parentd2445083b152a5b9bff20125910f832af0d4a3de (diff)
downloadklee-f3f4736956bb906e480d7ba50e1836c611f26be7.tar.gz
Check extensions of generated files in tests
Diffstat (limited to 'test/Feature/ubsan/ubsan_alignment-assumption.c')
-rw-r--r--test/Feature/ubsan/ubsan_alignment-assumption.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Feature/ubsan/ubsan_alignment-assumption.c b/test/Feature/ubsan/ubsan_alignment-assumption.c
index b48929ac..d18f2a28 100644
--- a/test/Feature/ubsan/ubsan_alignment-assumption.c
+++ b/test/Feature/ubsan/ubsan_alignment-assumption.c
@@ -3,6 +3,8 @@
 // RUN: %clang %s -fsanitize=alignment -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 <stdlib.h>