Skip to content

Commit 1a5b9cd

Browse files
author
Geoffrey Challen
committed
Trying new lock tests.
1 parent 4c9b617 commit 1a5b9cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kern/test/synchtest.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ locktest4(int nargs, char **args) {
373373
(void) nargs;
374374
(void) args;
375375

376+
int result;
377+
376378
kprintf_n("Starting lt4...\n");
377379
kprintf_n("(This test panics on success!)\n");
378380

@@ -412,6 +414,8 @@ locktest5(int nargs, char **args) {
412414
(void) nargs;
413415
(void) args;
414416

417+
int result;
418+
415419
kprintf_n("Starting lt5...\n");
416420
kprintf_n("(This test panics on success!)\n");
417421

0 commit comments

Comments
 (0)