aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 11:10:21 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 11:10:21 +0500
commitf9cd23215addf09af0c0ef44e5efe1b0840150cb (patch)
tree8fb7c181d08095cef5720915d801b309af0e993a /test
parenttest/test.sh: use the port variable (diff)
downloadlinux-status-f9cd23215addf09af0c0ef44e5efe1b0840150cb.tar.gz
linux-status-f9cd23215addf09af0c0ef44e5efe1b0840150cb.zip
test: catch possible undetected failures
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 1662eed..1c2ce66 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -108,6 +108,9 @@ curl_check_keyword() {
if ! grep --fixed-strings --quiet -- "$keyword" "$curl_output_file"; then
dump "The following pattern hasn't been found:"
dump "$keyword"
+ dump "The output was:"
+ cat -- "$curl_output_file"
+ return 1
fi
done
}