diff options
author | Pauli <pauli@openssl.org> | 2021-05-07 14:12:38 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-08 22:15:56 +1000 |
commit | 68f3fb051487581e3a424235b3d4f651cf558493 (patch) | |
tree | 8fa2c1ca1d19dda64dc51458449bc5129365d59c /test | |
parent | a1230dea4d255a1ea27b18af7a178fe2501e7dad (diff) |
apps: remove initial newline from mac output
Fixes #13247
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15189)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/20-test_mac.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/20-test_mac.t b/test/recipes/20-test_mac.t index ee5f77d361..7d754304c9 100644 --- a/test/recipes/20-test_mac.t +++ b/test/recipes/20-test_mac.t @@ -137,10 +137,10 @@ sub compareline { # Not unlinking $tmpfile if (defined($expect)) { - if ($lines[1] =~ m|^\Q${expect}\E\R$|) { + if ($lines[0] =~ m|^\Q${expect}\E\R$|) { return 1; } else { - print "Got: $lines[1]"; + print "Got: $lines[0]"; print "Exp: $expect\n"; return 0; } |