From e712096a60017cd624ec67f75cbf414df57455a7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 3 Jul 2017 16:46:50 -0400 Subject: Fencepost error (1-based counting using xrange(), sigh). --- tests/time-keygen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/time-keygen.py (limited to 'tests') diff --git a/tests/time-keygen.py b/tests/time-keygen.py old mode 100644 new mode 100755 index fcd47c6..b7311ba --- a/tests/time-keygen.py +++ b/tests/time-keygen.py @@ -22,7 +22,7 @@ hsm.login(HAL_USER_NORMAL, args.pin) flags = HAL_KEY_FLAG_USAGE_DIGITALSIGNATURE | (HAL_KEY_FLAG_TOKEN if args.token else 0) sum = timedelta() -for n in xrange(1, args.iterations): +for n in xrange(1, args.iterations + 1): t0 = datetime.now() -- cgit v1.2.3