From 8a261f6600eae3968f48206063fd9b8c7d0cb6ab Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 8 Dec 2017 17:10:13 -0600 Subject: [PATCH] We need to include the max disk slot Tiny comparison logic error. :grimace: --- tests/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/option.c b/tests/option.c index 8e81f7b..34b688e 100644 --- a/tests/option.c +++ b/tests/option.c @@ -16,7 +16,7 @@ teardown() { FILE *stream; - for (int i = 1; i < OPTION_MAX_DISKS; i++) { + for (int i = 1; i <= OPTION_MAX_DISKS; i++) { stream = option_get_input(i); if (stream