diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-09-27 15:03:55 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-09-29 10:40:00 +0100 |
commit | 40c1ab5c3d144cde0a513b708b6fb46f2ae1a0dd (patch) | |
tree | 54072ff292a0b2a018bd06ac844f471236bcc845 /test/Runtime/POSIX/Usage.c | |
parent | 6ed08c11c6feeabf4749573fdee2e9835d1eb6d2 (diff) | |
download | klee-40c1ab5c3d144cde0a513b708b6fb46f2ae1a0dd.tar.gz |
Changed code to create up to 100 properly-numbered symbolic arguments, and add a corresponding check.
Diffstat (limited to 'test/Runtime/POSIX/Usage.c')
-rw-r--r-- | test/Runtime/POSIX/Usage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Runtime/POSIX/Usage.c b/test/Runtime/POSIX/Usage.c index ce338e5c..40a0c902 100644 --- a/test/Runtime/POSIX/Usage.c +++ b/test/Runtime/POSIX/Usage.c @@ -23,6 +23,10 @@ // RUN: grep "Invalid range to --sym-args" %t5 // RUN: rm -rf %t.klee-out +// RUN: not %klee --output-dir=%t.klee-out --exit-on-error --posix-runtime %t.bc --sym-arg 5 --sym-args 0 99 5 --sym-arg 5 &> %t6 +// RUN: grep "No more than 100 symbolic arguments allowed." %t6 +// RUN: rm -rf %t.klee-out + int main(int argc, char** argv) { return 0; } |