From a740c60f6db224e945370f9f647e7dd0c6442017 Mon Sep 17 00:00:00 2001 From: Geoffrey Challen Date: Thu, 11 Feb 2016 21:13:46 -0500 Subject: [PATCH] Small fix. --- kern/test/synchprobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kern/test/synchprobs.c b/kern/test/synchprobs.c index 9a13b31..cb3b21e 100644 --- a/kern/test/synchprobs.c +++ b/kern/test/synchprobs.c @@ -685,7 +685,7 @@ int stoplight(int nargs, char **args) { passed += car_locations[i] == PASSED_CAR ? 1 : 0; } if ((test_status == SUCCESS) && - (!failif((passed != NCARS), "failed: not enough cars")) && + (!(failif((passed != NCARS), "failed: not enough cars"))) && (!(failif((all_quadrant != required_quadrant), "failed: didn't do the right turns"))) && (!(failif((max_car_count <= 1), "failed: no concurrency achieved")))) {};