Rename to allow complete test directory overwrite.

This commit is contained in:
Geoffrey Challen 2016-01-22 11:18:13 -05:00
parent 98ff530afb
commit 6c7e083827
4 changed files with 4 additions and 3 deletions

View File

@ -442,8 +442,8 @@ file test/lib.c
optfile net test/nettest.c optfile net test/nettest.c
defoption synchprobs defoption synchprobs
optfile synchprobs test/whalemating.c optfile synchprobs synchprobs/whalemating.c
optfile synchprobs test/stoplight.c optfile synchprobs synchprobs/stoplight.c
optfile synchprobs test/synchprobs.c optfile synchprobs test/synchprobs.c
defoption automationtest defoption automationtest

View File

@ -142,11 +142,12 @@ semtest(int nargs, char **args)
(void)args; (void)args;
inititems(); inititems();
test_status = SUCCESS; test_status = FAIL;
tkprintf("Starting semaphore test...\n"); tkprintf("Starting semaphore test...\n");
tkprintf("If this hangs, it's broken: "); tkprintf("If this hangs, it's broken: ");
P(testsem); P(testsem);
P(testsem); P(testsem);
test_status = SUCCESS;
tkprintf("ok\n"); tkprintf("ok\n");
for (i=0; i<NTHREADS; i++) { for (i=0; i<NTHREADS; i++) {