Major restructuring to switch build system from old scripts to GNU Automake.

This commit is contained in:
Andrew Wood
2023-08-28 10:04:39 +01:00
parent 5495e0e808
commit e99548ea8a
90 changed files with 1704 additions and 3521 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh
#
# A simple test of rate limiting.
# Dummy assignments for "shellcheck".
testSubject="${testSubject:-false}"
# Transfer 102 bytes at 100 bytes/sec. It should take at least 1 second.
#
startTime=$(date +%S)
dd if=/dev/zero bs=102 count=1 2>/dev/null | "${testSubject}" -L 100 2>/dev/null | cat >/dev/null
endTime=$(date +%S)
if test "${startTime}" = "${endTime}"; then
echo "transfer took zero seconds"
exit 1
fi
exit 0
# EOF