Module Name:    src
Committed By:   pgoyette
Date:           Wed Sep  5 23:38:40 UTC 2018

Modified Files:
        src/tests/modules [pgoyette-compat]: t_builtin.c

Log Message:
Don't forget to increment loop control - avoid infinite iteration


To generate a diff of this commit:
cvs rdiff -u -r1.3.12.2 -r1.3.12.3 src/tests/modules/t_builtin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/modules/t_builtin.c
diff -u src/tests/modules/t_builtin.c:1.3.12.2 src/tests/modules/t_builtin.c:1.3.12.3
--- src/tests/modules/t_builtin.c:1.3.12.2	Wed Sep  5 23:06:08 2018
+++ src/tests/modules/t_builtin.c	Wed Sep  5 23:38:40 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_builtin.c,v 1.3.12.2 2018/09/05 23:06:08 pgoyette Exp $	*/
+/*	$NetBSD: t_builtin.c,v 1.3.12.3 2018/09/05 23:38:40 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.  All rights reserved.
@@ -176,6 +176,9 @@ ATF_TC_BODY(disabledstat, tc)
 			found = true;
 			break;
 		}
+		ms++;
+		count--;
+
 	}
 	ATF_REQUIRE(found);
 }

Reply via email to