Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make it clear that MC is supposed to detect a counter-example in chord.
authorChristophe Thiéry <christopho128@gmail.com>
Thu, 5 Jul 2012 15:14:55 +0000 (17:14 +0200)
committerChristophe Thiéry <christopho128@gmail.com>
Thu, 5 Jul 2012 15:16:07 +0000 (17:16 +0200)
examples/msg/chord/chord.c

index e0787cb..f2c07ba 100644 (file)
@@ -637,6 +637,7 @@ static int remote_find_successor(node_t node, int ask_to, int id)
         task_data_t ans_data = MSG_task_get_data(task_received);
 
         if (MC_IS_ENABLED) {
         task_data_t ans_data = MSG_task_get_data(task_received);
 
         if (MC_IS_ENABLED) {
+          // the model-checker is expected to find a counter-example here
           MC_assert(task_received == task_sent);
         }
 
           MC_assert(task_received == task_sent);
         }