From 40c1ab5c3d144cde0a513b708b6fb46f2ae1a0dd Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Thu, 27 Sep 2018 15:03:55 +0100 Subject: Changed code to create up to 100 properly-numbered symbolic arguments, and add a corresponding check. --- test/Runtime/POSIX/Usage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Runtime') 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; } -- cgit 1.4.1