diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-12 11:10:21 +0500 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-12 11:10:21 +0500 |
commit | f9cd23215addf09af0c0ef44e5efe1b0840150cb (patch) | |
tree | 8fb7c181d08095cef5720915d801b309af0e993a /test | |
parent | test/test.sh: use the port variable (diff) | |
download | linux-status-f9cd23215addf09af0c0ef44e5efe1b0840150cb.tar.gz linux-status-f9cd23215addf09af0c0ef44e5efe1b0840150cb.zip |
test: catch possible undetected failures
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 3 |
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 } |