Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2020-05-05 23:50:27 +0300
committerBryan Drewery <bryan@shatow.net>2020-05-06 21:20:41 +0300
commitb7d6d00f2e5dc63f892fab505fcf22d67e0bc2f7 (patch)
tree45433f6ab1913e6d9df41f4573c2f3903aeb2228
parent73bc0f53de7f777b8a6764713b4650a526abd17e (diff)
Correct some test assertion reasons
-rw-r--r--test/locked_mkdir.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/locked_mkdir.sh b/test/locked_mkdir.sh
index e25e0403..4c9f82c5 100644
--- a/test/locked_mkdir.sh
+++ b/test/locked_mkdir.sh
@@ -55,7 +55,7 @@ assert_pid "$0:$LINENO" "${LOCK1}" "$$"
nowtime=$(date +%s)
elapsed=$((${nowtime} - ${time}))
[ "${elapsed}" -le 6 ]
-assert 0 $? "$0:$LINENO: Lock did not wait long enough elapsed=${elapsed}"
+assert 0 $? "$0:$LINENO: Lock slept too long elapsed=${elapsed}"
[ -d "${LOCK1}" ]
assert 0 $? "$0:$LINENO: Lock dir should exist"
wait
@@ -106,7 +106,7 @@ assert_pid "$0:$LINENO" "${LOCK1}" "1"
nowtime=$(date +%s)
elapsed=$((${nowtime} - ${time}))
[ "${elapsed}" -le 6 ]
-assert 0 $? "$0:$LINENO: Lock did not wait long enough elapsed=${elapsed}"
+assert 0 $? "$0:$LINENO: Lock slept too long elapsed=${elapsed}"
[ -d "${LOCK1}" ]
assert 0 $? "$0:$LINENO: Lock dir should exist"