diff options
author | Frank Busse <bb0xfb@gmail.com> | 2022-03-25 14:05:56 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2022-05-06 11:14:32 +0100 |
commit | 3515cb00c750ec5f081d4d0e3a1c386080ccda7e (patch) | |
tree | ba7f66d4816d189a48164761e553d17ff76609dc /test/Feature/FunctionPointer.c | |
parent | 0ceea620c91c53a5167af83deddc97571bb67808 (diff) | |
download | klee-3515cb00c750ec5f081d4d0e3a1c386080ccda7e.tar.gz |
tests: make function pointer tests more robust
Diffstat (limited to 'test/Feature/FunctionPointer.c')
-rw-r--r-- | test/Feature/FunctionPointer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/FunctionPointer.c b/test/Feature/FunctionPointer.c index 649946dc..b2e31ee0 100644 --- a/test/Feature/FunctionPointer.c +++ b/test/Feature/FunctionPointer.c @@ -1,6 +1,6 @@ // RUN: %clang %s -emit-llvm -g -c -o %t.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --write-no-tests --exit-on-error %t.bc 2>&1 | FileCheck %s +// RUN: %klee --search=bfs --output-dir=%t.klee-out --write-no-tests --exit-on-error %t.bc 2>&1 | FileCheck %s #include "klee/klee.h" @@ -42,8 +42,8 @@ int main(int argc, char **argv) { void (*fp2)(const char *); klee_make_symbolic(&fp2, sizeof fp2, "fp2"); if(fp2 == baz || fp2 == foo) { - // CHECK-DAG: baz: calling via symbolic! - // CHECK-DAG: foo: calling via symbolic! + // CHECK: baz: calling via symbolic! + // CHECK: foo: calling via symbolic! fp2("calling via symbolic!"); } |