From 52d122b854072cdfee11d102a44f070229280dbd Mon Sep 17 00:00:00 2001 From: Geoffrey Challen Date: Thu, 9 Feb 2017 09:50:07 -0500 Subject: [PATCH] Minor test changes. --- kern/test/arraytest.c | 3 +++ kern/test/fstest.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/kern/test/arraytest.c b/kern/test/arraytest.c index a63405f..b55d3a7 100644 --- a/kern/test/arraytest.c +++ b/kern/test/arraytest.c @@ -156,6 +156,9 @@ arraytest2(int nargs, char **args) (void)nargs; (void)args; + /* Silence warning with gcc 4.8 -Og (but not -O2) */ + x = 0; + kprintf("Beginning large array test...\n"); a = array_create(); KASSERT(a != NULL); diff --git a/kern/test/fstest.c b/kern/test/fstest.c index 9120920..1617027 100644 --- a/kern/test/fstest.c +++ b/kern/test/fstest.c @@ -681,7 +681,7 @@ checkfilesystem(int nargs, char **args) char *device; if (nargs != 2) { - kprintf("Usage: fs[12345] filesystem:\n"); + kprintf("Usage: fs[123456] filesystem:\n"); return EINVAL; }