diff options
Diffstat (limited to 'Test/lock')
-rw-r--r-- | Test/lock/Answer | 6 | ||||
-rw-r--r-- | Test/lock/Lock.bpl | 2 | ||||
-rw-r--r-- | Test/lock/Lock.bpl.expect | 2 | ||||
-rw-r--r-- | Test/lock/LockIncorrect.bpl | 2 | ||||
-rw-r--r-- | Test/lock/LockIncorrect.bpl.expect | 6 |
5 files changed, 15 insertions, 3 deletions
diff --git a/Test/lock/Answer b/Test/lock/Answer index bcfc9f1c..a5b63e44 100644 --- a/Test/lock/Answer +++ b/Test/lock/Answer @@ -1,8 +1,8 @@ Boogie program verifier finished with 3 verified, 0 errors
-LockIncorrect.bpl(17,3): Error BP5001: This assertion might not hold.
+LockIncorrect.bpl(19,3): Error BP5001: This assertion might not hold.
Execution trace:
- LockIncorrect.bpl(9,1): start
- LockIncorrect.bpl(14,1): LoopHead
+ LockIncorrect.bpl(11,1): start
+ LockIncorrect.bpl(16,1): LoopHead
Boogie program verifier finished with 0 verified, 1 error
diff --git a/Test/lock/Lock.bpl b/Test/lock/Lock.bpl index ed24a710..ab7f20fe 100644 --- a/Test/lock/Lock.bpl +++ b/Test/lock/Lock.bpl @@ -1,3 +1,5 @@ +// RUN: %boogie %s > %t
+// RUN: %diff %s.expect %t
procedure LockingExample();
implementation LockingExample()
diff --git a/Test/lock/Lock.bpl.expect b/Test/lock/Lock.bpl.expect new file mode 100644 index 00000000..a9949f2e --- /dev/null +++ b/Test/lock/Lock.bpl.expect @@ -0,0 +1,2 @@ + +Boogie program verifier finished with 3 verified, 0 errors diff --git a/Test/lock/LockIncorrect.bpl b/Test/lock/LockIncorrect.bpl index 776f8af6..cffcc256 100644 --- a/Test/lock/LockIncorrect.bpl +++ b/Test/lock/LockIncorrect.bpl @@ -1,3 +1,5 @@ +// RUN: %boogie %s > %t
+// RUN: %diff %s.expect %t
procedure LockingExample();
implementation LockingExample()
diff --git a/Test/lock/LockIncorrect.bpl.expect b/Test/lock/LockIncorrect.bpl.expect new file mode 100644 index 00000000..a320da62 --- /dev/null +++ b/Test/lock/LockIncorrect.bpl.expect @@ -0,0 +1,6 @@ +LockIncorrect.bpl(19,3): Error BP5001: This assertion might not hold. +Execution trace: + LockIncorrect.bpl(11,1): start + LockIncorrect.bpl(16,1): LoopHead + +Boogie program verifier finished with 0 verified, 1 error |