summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/modorder.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/unit-tests/modorder.mk')
-rw-r--r--devel/bmake/files/unit-tests/modorder.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/bmake/files/unit-tests/modorder.mk b/devel/bmake/files/unit-tests/modorder.mk
index 441a3da5ad2..3070d340e1a 100644
--- a/devel/bmake/files/unit-tests/modorder.mk
+++ b/devel/bmake/files/unit-tests/modorder.mk
@@ -1,4 +1,4 @@
-# $NetBSD: modorder.mk,v 1.1.1.1 2015/05/19 21:36:45 joerg Exp $
+# $NetBSD: modorder.mk,v 1.1.1.2 2020/05/24 05:35:53 nia Exp $
LIST= one two three four five six seven eight nine ten
LISTX= ${LIST:Ox}
@@ -12,8 +12,9 @@ all:
@echo "LIST:O = ${LIST:O}"
# Note that 1 in every 10! trials two independently generated
# randomized orderings will be the same. The test framework doesn't
- # support checking probabilistic output, so we accept that the test
- # will incorrectly fail with probability 2.8E-7.
+ # support checking probabilistic output, so we accept that each of the
+ # 3 :Ox tests will incorrectly fail with probability 2.756E-7, which
+ # lets the whole test fail once in 1.209.600 runs, on average.
@echo "LIST:Ox = `test '${LIST:Ox}' != '${LIST:Ox}' ${TEST_RESULT}`"
@echo "LIST:O:Ox = `test '${LIST:O:Ox}' != '${LIST:O:Ox}' ${TEST_RESULT}`"
@echo "LISTX = `test '${LISTX}' != '${LISTX}' ${TEST_RESULT}`"