]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print out actual count, not just expected count
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jul 2020 15:36:40 +0000 (11:36 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jul 2020 15:36:40 +0000 (11:36 -0400)
src/tests/radclient/acct_3.cmd
src/tests/radclient/auth_3.cmd

index af8c0d3ded641284dffa4c46986d40257a9a9b40..b32a8a0c08ecce241dcebcd503896f2ff7ab2835 100755 (executable)
@@ -10,6 +10,6 @@ entries=$(grep "${test_regex}" ${test_in} | wc -l)
 expected=14
 
 if [ $entries -ne $expected ]; then
-       echo "ERROR: We expected ${expected} entries of '${test_regex}' in '${test_in}'"
+       echo "ERROR: We expected ${expected} entries of '${test_regex}' in '${test_in}', got ${entries}"
        exit 1
 fi
index 9a7a5949b4d1219f5cc244754f69d0b3c03bb8e4..2bba278e25229186a8d0630c1418cc3c54e3fefe 100755 (executable)
@@ -10,6 +10,6 @@ entries=$(grep "${test_regex}" ${test_in} | wc -l)
 expected=10
 
 if [ $entries -ne $expected ]; then
-       echo "ERROR: We expected ${expected} entries of '${test_regex}' in '${test_in}'"
+       echo "ERROR: We expected ${expected} entries of '${test_regex}' in '${test_in}, got ${entries}'"
        exit 1
 fi