diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-05 18:32:03 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-05 18:32:24 -0800 |
commit | 36d982f39b683d0266b9c6ff1e01cbfc94bd97f6 (patch) | |
tree | 8c28514e96782bed047e6a2eb4cfa960870a0810 | |
parent | 051613c240910cacdd83cb4f6a431f5435124243 (diff) | |
download | gnulib-36d982f39b683d0266b9c6ff1e01cbfc94bd97f6.tar.gz |
test-timespec: fix typo in previous change
* tests/test-timespec.c (main): Fix typo that reduced test quality.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | tests/test-timespec.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2015-11-05 Paul Eggert <eggert@cs.ucla.edu> + test-timespec: fix typo in previous change + * tests/test-timespec.c (main): Fix typo that reduced test quality. + timespec-sub: fix overflow bug; add tests * lib/timespec-add.c (timespec_add): * lib/timespec-sub.c (timespec_sub): diff --git a/tests/test-timespec.c b/tests/test-timespec.c index 839906cf37..20bbd0b985 100644 --- a/tests/test-timespec.c +++ b/tests/test-timespec.c @@ -144,7 +144,7 @@ main (void) for (k = 0; k < ntests; k++) { - struct timespec c = test[j]; + struct timespec c = test[k]; if (valid (c)) { struct timespec sumbc = timespec_add (b, c); |