diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2014-09-15 07:22:45 -0700 | 
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2014-09-15 07:22:45 -0700 | 
| commit | 44c74907d97df031bd06023aec6f69d6fe9ba403 (patch) | |
| tree | 8ce76ddeb9c7b2cc0518b8273b6f1b91c0ccadcf /test/Runtime/POSIX/DirSeek.c | |
| parent | aa000e933bda48ac67901b2a729dda7d5f9ca215 (diff) | |
| parent | 9cc7df88676bf2d236f1af8dfcc47fda2ba12f12 (diff) | |
| download | klee-44c74907d97df031bd06023aec6f69d6fe9ba403.tar.gz | |
Merge pull request #160 from MartinNowack/fix_dirconsistency
Generate fake files for test cases
Diffstat (limited to 'test/Runtime/POSIX/DirSeek.c')
| -rw-r--r-- | test/Runtime/POSIX/DirSeek.c | 15 | 
1 files changed, 9 insertions, 6 deletions
diff --git a/test/Runtime/POSIX/DirSeek.c b/test/Runtime/POSIX/DirSeek.c index 1b2c25e8..e017b98d 100644 --- a/test/Runtime/POSIX/DirSeek.c +++ b/test/Runtime/POSIX/DirSeek.c @@ -1,10 +1,13 @@ // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t2.bc -// RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --run-in=/tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 2 2 -// RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --run-in=/tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 1 2 -// RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --run-in=/tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 0 2 +// RUN: rm -rf %t.klee-out %t.klee-out-tmp +// RUN: %gentmp %t.klee-out-tmp +// RUN: %klee --output-dir=%t.klee-out --run-in=%t.klee-out-tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 2 2 +// RUN: rm -rf %t.klee-out %t.klee-out-tmp +// RUN: %gentmp %t.klee-out-tmp +// RUN: %klee --output-dir=%t.klee-out --run-in=%t.klee-out-tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 1 2 +// RUN: rm -rf %t.klee-out %t.klee-out-tmp +// RUN: %gentmp %t.klee-out-tmp +// RUN: %klee --output-dir=%t.klee-out --run-in=%t.klee-out-tmp --libc=uclibc --posix-runtime --exit-on-error %t2.bc --sym-files 0 2 // For this test really to work as intended it needs to be run in a // directory large enough to cause uclibc to do multiple getdents  | 
