You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Compared as sorted files rather than hashed: cmp is POSIX and md5sum is
# not on macOS, and this check is in make check, which people run locally.
#
# The loops count in the shell rather than through seq for the same reason.
# macOS does ship seq, but BSD seq reads "first larger than last" as a
# request to count down, so `seq 5 4` prints "5 4" where GNU seq prints
# nothing. The inner loop below ends on exactly that range, so on macOS
# every correct run was refused, comparing the last shard against itself.
for((i =1; i <= total; i++));do
[ -s"$dir/shard-$i/all.txt" ] || fail "shard $i recorded no enumeration; either it did not get far enough to have one, or its report did not reach here"