diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-10-14 18:27:39 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-10-14 18:27:39 +0100 |
commit | ad0f0bd772ab8f03967a83bb8960658bf6caafa4 (patch) | |
tree | e8ce77e04bd728fe9008df9fe6615899d519e6f9 | |
parent | bd233936e40f019e0ab066440dc13398ae6754f6 (diff) | |
download | klee-ad0f0bd772ab8f03967a83bb8960658bf6caafa4.tar.gz |
Replaced --libc=klee with --libc=uclibc in two tests (as for https://github.com/ccadar/klee/issues/32) and fixed an #include in one of the tests.
-rw-r--r-- | test/Runtime/POSIX/SeedAndFail.c | 6 | ||||
-rw-r--r-- | test/Runtime/POSIX/Stdin.c | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/test/Runtime/POSIX/SeedAndFail.c b/test/Runtime/POSIX/SeedAndFail.c index db02217a..740db664 100644 --- a/test/Runtime/POSIX/SeedAndFail.c +++ b/test/Runtime/POSIX/SeedAndFail.c @@ -1,12 +1,10 @@ // RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc // RUN: rm -rf tmp-123 -// RUN: %klee --libc=klee --output-dir=tmp-123 --posix-runtime %t.bc --sym-files 1 10 2>%t.log +// RUN: %klee --libc=uclibc --output-dir=tmp-123 --posix-runtime %t.bc --sym-files 1 10 2>%t.log // RUN: %klee --seed-out-dir=tmp-123 --zero-seed-extension --libc=uclibc --posix-runtime %t.bc --sym-files 1 10 --max-fail 1 // RUN: ls klee-last | grep -c assert | grep 4 - - -#include <stdio.h> +#include <string.h> #include <assert.h> #include <unistd.h> #include <sys/types.h> diff --git a/test/Runtime/POSIX/Stdin.c b/test/Runtime/POSIX/Stdin.c index e7e3f2ff..b5402cf1 100644 --- a/test/Runtime/POSIX/Stdin.c +++ b/test/Runtime/POSIX/Stdin.c @@ -1,5 +1,5 @@ // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t.bc -// RUN: %klee --libc=klee --posix-runtime --exit-on-error %t.bc --sym-files 0 4 > %t.log +// RUN: %klee --libc=uclibc --posix-runtime --exit-on-error %t.bc --sym-files 0 4 > %t.log // RUN: grep "mode:file" %t.log // RUN: grep "mode:dir" %t.log // RUN: grep "mode:chr" %t.log |