Restructure tests and adjust display format, to better understand what each test is testing.

This commit is contained in:
Andrew Wood
2023-07-23 16:25:52 +01:00
parent b086ddf599
commit 909355619b
24 changed files with 13 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
#
# Check that the update interval can be set.
sleep 1 | "${testSubject}" -f -i 0.1 >/dev/null 2>"${workFile1}"
# There should be more than 6 lines of output.
#
NUM=$(tr '\r' '\n' < "${workFile1}" | wc -l | tr -d ' ')
test $NUM -gt 6
# EOF