git: f71b232f319d - main - stress2: Added an explanation to failure mode

From: Peter Holm <pho_at_FreeBSD.org>
Date: Sun, 12 Jun 2022 09:55:54 UTC
The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=f71b232f319d9b1639d12f3de8e582b395ab86f1

commit f71b232f319d9b1639d12f3de8e582b395ab86f1
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2022-06-12 09:52:55 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2022-06-12 09:52:55 +0000

    stress2: Added an explanation to failure mode
---
 tools/test/stress2/misc/shm_super.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/test/stress2/misc/shm_super.sh b/tools/test/stress2/misc/shm_super.sh
index 78f237bf789d..8437eb5be92f 100755
--- a/tools/test/stress2/misc/shm_super.sh
+++ b/tools/test/stress2/misc/shm_super.sh
@@ -82,6 +82,7 @@ rm /tmp/shm_super.c
 
 /tmp/shm_super > /tmp/shm_super.log 2>&1
 grep -wq S /tmp/shm_super.log && s=0 || { cat /tmp/shm_super.log; s=1; }
+[ $s -eq 1 ] && echo "No superpage mappings found."
 
 rm -f /tmp/shm_super /tmp/shm_super.log
 exit $s