From 6c7e0838276b6cf13c4da470c82b35a81887d3df Mon Sep 17 00:00:00 2001 From: Geoffrey Challen Date: Fri, 22 Jan 2016 11:18:13 -0500 Subject: [PATCH] Rename to allow complete test directory overwrite. --- kern/conf/conf.kern | 4 ++-- kern/{test => synchprobs}/stoplight.c | 0 kern/{test => synchprobs}/whalemating.c | 0 kern/test/synchtest.c | 3 ++- 4 files changed, 4 insertions(+), 3 deletions(-) rename kern/{test => synchprobs}/stoplight.c (100%) rename kern/{test => synchprobs}/whalemating.c (100%) diff --git a/kern/conf/conf.kern b/kern/conf/conf.kern index 0338825..c3c1399 100644 --- a/kern/conf/conf.kern +++ b/kern/conf/conf.kern @@ -442,8 +442,8 @@ file test/lib.c optfile net test/nettest.c defoption synchprobs -optfile synchprobs test/whalemating.c -optfile synchprobs test/stoplight.c +optfile synchprobs synchprobs/whalemating.c +optfile synchprobs synchprobs/stoplight.c optfile synchprobs test/synchprobs.c defoption automationtest diff --git a/kern/test/stoplight.c b/kern/synchprobs/stoplight.c similarity index 100% rename from kern/test/stoplight.c rename to kern/synchprobs/stoplight.c diff --git a/kern/test/whalemating.c b/kern/synchprobs/whalemating.c similarity index 100% rename from kern/test/whalemating.c rename to kern/synchprobs/whalemating.c diff --git a/kern/test/synchtest.c b/kern/test/synchtest.c index 5c06e51..2ca6a21 100644 --- a/kern/test/synchtest.c +++ b/kern/test/synchtest.c @@ -142,11 +142,12 @@ semtest(int nargs, char **args) (void)args; inititems(); - test_status = SUCCESS; + test_status = FAIL; tkprintf("Starting semaphore test...\n"); tkprintf("If this hangs, it's broken: "); P(testsem); P(testsem); + test_status = SUCCESS; tkprintf("ok\n"); for (i=0; i