summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-04-20 18:26:58 +0100
committerPádraig Brady <P@draigBrady.com>2016-04-21 19:41:58 +0100
commit2ef621251992bc0b9fbc9ada98606996047ed8a3 (patch)
tree7f69527bb8493d73b82ec785e8822f598ec5732c /tests/local.mk
parentff6cc22d062c493c9fee27cfe1d2e6328d502a43 (diff)
downloadcoreutils-2ef621251992bc0b9fbc9ada98606996047ed8a3.tar.xz
sleep,timeout: support overflowing floating point values
* src/sleep.c (main): Allow ERANGE since we allow "inf" values. * src/timeout.c (parse_duration): Likewise. * tests/misc/sleep.sh: New file. Tests for sleep(1). * tests/misc/timeout-parameters.sh: Add case for newly allowed $LDBL_MAX. Also use returns_ throughout the file. Also avoid small timeout values which might give false failures under load.
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index a83c3d080..424f4609c 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -333,6 +333,7 @@ all_tests = \
tests/misc/shred-size.sh \
tests/misc/shuf.sh \
tests/misc/shuf-reservoir.sh \
+ tests/misc/sleep.sh \
tests/misc/sort.pl \
tests/misc/sort-benchmark-random.sh \
tests/misc/sort-compress.sh \