Raise an error if variables are not defined.

This commit is contained in:
Andrew Wood
2024-12-01 14:01:10 +00:00
parent 5a9a694050
commit 94e496c77e
46 changed files with 126 additions and 91 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
#
# Check that "--size" affects the percentage shown.
# Dummy assignments for "shellcheck".
testSubject="${testSubject:-false}"; workFile1="${workFile1:-.tmp1}"
true "${testSubject:?not set - call this from 'make check'}"
true "${workFile1:?not set - call this from 'make check'}"
# Process 100 bytes at 100 bytes per second, updating every 0.1 seconds for
# around 10 output lines, but set the size to 200.